lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

PS: Maybe it might be a nice proposol, to use an already existing
"unary reserved char" to enforce that this should work for the next
function, e. g.

print( ::str1.byte(1,-1), ::str2.byte(1,-1))

... just an idea, I would be interested what other people in the forum
would think about this.

(using any other unary operators which e. g. modify numbers or
variables like -/~/:.. of course would be NOT so good idea, but I
think :: maybe would be ok, as it is used only for goto labels so far,
which are anyway quite seldom, and which for very sure will NOT appear
only at start of a line (possibly whitespaces before..., or ).