|
Post by ekvirtanen on Feb 16, 2008 19:09:24 GMT -5
x = 1 print x inc x print x inc x print x
OUTPUT: 1 2 3This would make code was nicer than x = 1 print x x = x + 1 print x x = x + 1 print x Old farts here propably remembers this keyword from old days? [edit]typo fix
|
|
|
Post by Jerry Muelver on Feb 17, 2008 5:20:30 GMT -5
Yup. INC and DEC were good buddies of mine, back in the PEEK and POKE days. So were POP and PUSH and INSERT. Those were the days when we never worried about GUIs. Everything was simply INPUT and PRINT, and later on, LOCATE. Then came COLOR, and the rest was downhill, all the way.
|
|