zxbasic icon indicating copy to clipboard operation
zxbasic copied to clipboard

Suggestion : myvar+1 / myvar++

Open em00k opened this issue 5 years ago • 1 comments

it would be nice if myvar=myvar+1 could be expressed in a shorter way:

myvar+1 or myvar++ or Inc myvar

As when strings names are large doing simple increments can start to look messy and I am very lazy.

:)

em00k avatar Dec 10 '19 00:12 em00k

I think myvar += 1 is the good one (as in Python, C, etc...)

boriel avatar Dec 10 '19 08:12 boriel