|
|
"Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote in message
news:Xns### [at] 204213191226...
> I.e someone will write script, with variables like say :
> a, b, c, speed, displacment, size
> It will work fine, until in say POV 4.0 displacment will became a
> reserved word and stop this script from working.
Use upper case in your variable names. Upper case words will never be
reserved.
> What do You think about allowing, as PHP, syntax with variant types,
> say :
> $x = 100;
> "foo"+$x+"bar" will result in "foo100bar" (x is used like string)
> and :
> 20 + $x will result in 120 (x is used like number)
You're joking, right? You *like* that?
Post a reply to this message
|
|