View Single Post
Old 23 August 2015, 11:25   #298
Registered User

Dunny's Avatar
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 661
That's why I use the square brackets.

"FOR i IN a" is pretty bad syntax for a BASIC - it's very non-obvious what it does unless you specify that "a" is a range somehow. The same way we differentiate strings from numbers with the "$" suffix. Hence I would use "FOR i IN [a]" to specify a range, which is more readable so long as the user understands that anything in square braces is a range.

Dunny is offline  
Page generated in 0.04920 seconds with 9 queries