Difference between revisions of "Ceil"
From WikiManual
m |
m |
||
Line 8: | Line 8: | ||
{{Advanced Commands}} | {{Advanced Commands}} | ||
− | == | + | ==Examples:== |
200 400 add 500 ceil .shoot store | 200 400 add 500 ceil .shoot store |
Latest revision as of 22:22, 5 February 2006
Will 'cut off' any value the stack's holding to the ceil's number.
in this syntax: A B CEIL
A will be cut off to B, providing that A>B
Operators:
Advanced Commands:The following commands are not supported in versions earlier 2.46: |
Examples:
200 400 add 500 ceil .shoot store
stores 500 in .shoot .
100 100 add 500 ceil .shoot store
stores 200 in .shoot . Because the ceil isn't reached, no values are 'cut off.