when you define something
for example
define( "E1", "October 31,2008")
I get the feeling that I'll get some parse errors or something...Is there a need to escape the comma?
you might not use numbers in define ...and capital letters only and just _ ...
for example:
define( "FOURTY_TWO", 42);
print FOURTY_TWO-4; //40
t3chb0y;10891590 wrote:when you define something for example define( "E1", "October 31,2008") I get the feeling that I'll get some parse errors or something...Is there a need to escape the comma?
djjjozsi wrote:you might not use numbers in define ...and capital letters only and just _
you might not use numbers in define ...and capital letters only and just _
I guess I must be hallucinating a lot of the defined constants listed in the [man]Math[/man] section, then 🙂
t3chb0y wrote:I get the feeling that I'll get some parse errors or something...Is there a need to escape the comma?
Try it and see. 🙂
hmm
you missed a ; end of the line...
oops. and you could use numbers in define 🙂
Thanks that you lighted my ignorance dark alley 🙂 🙂
Weedpacket;10891594 wrote:I guess I must be hallucinating a lot of the defined constants listed in the [man]Math[/man] section, then 🙂 Try it and see. 🙂