Colons can be good to group related operations onto a quick to comment out line though.
x#=EntityX(object)
y#=EntityY(object)
z#=EntityZ(object)
becomes
x#=EntityX(object) : y#=EntityY(object) : z#=EntityZ(object)
Works best when just assigning values at the beginning of loops etc.
a=1
b=2
c=a+b
d=c-3
a=1 : b=2 : c=a+b : d=c-3
It's the same conceptually as multiple declarations on a line.
Global cat
Global dog
Global sheep
Global giraffe
Global lema
Global porpoise
Global cat, dog, sheep, giraffe, lema, porpoise
I'm sure anyone who says 'don't use colons, put every command ona seperate line,' doesn't put every variable declaration on a seperate line :p
Don't use colons myself. Don't use IF THEN's either. Always go with IF...code...ENDIF. It's a matter of personal preference.
x#=EntityX(object)
y#=EntityY(object)
z#=EntityZ(object)
becomes
x#=EntityX(object) : y#=EntityY(object) : z#=EntityZ(object)
Works best when just assigning values at the beginning of loops etc.
a=1
b=2
c=a+b
d=c-3
a=1 : b=2 : c=a+b : d=c-3
It's the same conceptually as multiple declarations on a line.
Global cat
Global dog
Global sheep
Global giraffe
Global lema
Global porpoise
Global cat, dog, sheep, giraffe, lema, porpoise
I'm sure anyone who says 'don't use colons, put every command ona seperate line,' doesn't put every variable declaration on a seperate line :p
Don't use colons myself. Don't use IF THEN's either. Always go with IF...code...ENDIF. It's a matter of personal preference.