Page 1 of 1

How to shorten your code

Posted: Thu Feb 18, 2021 6:28 pm
by Zim
You can shorten your code by putting more than one variable in one line.

Code: [Local Link Removed for Guests]


D1 = 5
D2 = 4
D3 = 0
D4 = 2
D5 = 14
D6 = 12
zims$ = "hello"

'can be expressed in one line as below

D1 = 5:D2 = 4:D3 = 0:D4 = 2:D5 = 14:D6 = 12:zims$ = "hello"


I am a beginner too, so if you see an error, please feel free to comment or correct me! :)