Program Real Line Counter. Anyone want to jump in?
#2
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?
b = b + ...
Reply


Messages In This Thread
RE: Program real Line counter. Anyone want to jump in. - by bplus - 10-22-2022, 08:37 PM



Users browsing this thread: 24 Guest(s)