10-22-2022, 08:37 PM
Yes you are on track. The case of difficulty I have in mind is a legit one line use of colon in an Single line IF.
It might be debatable if that is legit use of colon as not counting as more than one statement, I would say... I don't know!?
If there is an IF, THEN if something follow THEN ignore it? (as far as colon counting goes).
If a <> b then a = a + 1 : b = b + 3 : goto anotherLine
Isn't that one line equivalent to
if a<>b then
a = a+1
b = b+ 3
goto anotherLine
end if
Do you see what I am getting at?
It might be debatable if that is legit use of colon as not counting as more than one statement, I would say... I don't know!?
If there is an IF, THEN if something follow THEN ignore it? (as far as colon counting goes).
If a <> b then a = a + 1 : b = b + 3 : goto anotherLine
Isn't that one line equivalent to
if a<>b then
a = a+1
b = b+ 3
goto anotherLine
end if
Do you see what I am getting at?
b = b + ...