Loops/While: Difference between revisions
Content added Content deleted
m (→{{header|Joy}}) |
(Add LabVIEW) |
||
Line 436: | Line 436: | ||
1024 [] [dup putln 2 /] while.</lang> |
1024 [] [dup putln 2 /] while.</lang> |
||
=={{header|LabVIEW}}== |
|||
Use Round Towards -Inf to prevent the integer becoming a float.<br/>{{VI snippet}}<br/> |
|||
[[File:LabVIEW_Loops_While.png]] |
|||
=={{header|Liberty BASIC}}== |
=={{header|Liberty BASIC}}== |
||
All integers are changed to floats if an operation creates a non-integer result. |
All integers are changed to floats if an operation creates a non-integer result. |
||
Line 447: | Line 450: | ||
end |
end |
||
</lang> |
</lang> |
||
=={{header|Lisaac}}== |
=={{header|Lisaac}}== |
||
<lang Lisaac>+ i : INTEGER; |
<lang Lisaac>+ i : INTEGER; |