These might be redundant because you can just do add 1 and var in var, but I tend to do that a lot so thought this might be worth exploring. Tests are in Lartu/ldpltest#4.
Example:
DATA:
n is number
PROCEDURE:
while n is less than 100 do
display "n: " n crlf
incr n
repeat
display "final: " n crlf
I would stay with INCR for the time being. INCREMENT is more expressive, but if you are using INCR is because you don't want to write much, and INCREMENT is just overkill :laughing:
These might be redundant because you can just do
add 1 and var in var
, but I tend to do that a lot so thought this might be worth exploring. Tests are in Lartu/ldpltest#4.Example:
Wasn't sure about
INCR
vsINCREMENT
too?