[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quanta
Subject:    Re: [Quanta] Problem with digits < 08
From:       Silviu Candale <silviu_ct_2005 () yahoo ! com>
Date:       2007-08-05 14:45:44
Message-ID: 730019.49824.qm () web35906 ! mail ! mud ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


It's happening because integers starting with 0 are threated like octal numbers.
See http://www.phpbuilder.com/manual/en/language.types.integer.php for more

----- Original Message ----
From: Michael Calwell <michael@calwell-computing.co.uk>
To: quanta@mail.kde.org
Sent: Sunday, August 5, 2007 4:12:04 PM
Subject: [Quanta] Problem with digits < 08

Dear All,

I have been a happy Quanta user for years. I use Quanta via fish to my 
server, which has been migrated to RHEL5/PHP5. Something strange is 
happening in the IDE which is actually affecting the server. I have no 
idea what it is, but I will try to describe it.

In the ide, if I type in integers beginning with the two digits as 00 
through to 07, they are highlighted in aquamarine (#00FFFF). The server 
can see and use the integers in scripts and functions, and all is well.

However, if I try to use integers beginning with 08 and 09, they are 
highlighted in blue and the server cannot see and use them.

It's baffling - how on earth syntax highlighting in an IDE can affect 
what goes on on a server I would have thought impossible. Maybe it is, 
and maybe it's something about PHP5 I haven't figured out.

Can anybody shed light on this problem?

_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta







       
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC
[Attachment #5 (text/html)]

<html><head><style type="text/css"><!-- DIV {margin:0px;} \
--></style></head><body><div style="font-family:times new roman, new york, times, \
serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; \
font-size: 12pt;">It's happening because integers starting with 0 are threated like \
octal numbers.<br><span>See <a target="_blank" \
href="http://www.phpbuilder.com/manual/en/language.types.integer.php">http://www.phpbuilder.com/manual/en/language.types.integer.php</a> \
for more</span><br><br><div style="font-family: times new roman,new york,times,serif; \
font-size: 12pt;">----- Original Message ----<br>From: Michael Calwell \
&lt;michael@calwell-computing.co.uk&gt;<br>To: quanta@mail.kde.org<br>Sent: Sunday, \
August 5, 2007 4:12:04 PM<br>Subject: [Quanta] Problem with digits &lt; \
08<br><br><div>Dear All,<br><br>I have been a happy Quanta user for years. I use \
Quanta via fish to my <br>server, which has been migrated to RHEL5/PHP5.  Something \
strange is <br>happening in the IDE which is actually affecting the server. I have no \
<br>idea what it is, but I will try to describe it.<br><br>In the ide, if I type in \
integers beginning with the two digits as 00 <br>through to 07, they are highlighted \
in aquamarine (#00FFFF). The server <br>can see and use the integers in scripts and \
functions, and all is well.<br><br>However, if I try to use integers beginning with \
08 and 09, they are <br>highlighted in blue and the server cannot see and use \
them.<br><br>It's baffling - how on earth syntax highlighting in an IDE can affect \
<br>what goes on on a server I would have thought impossible. Maybe it is, <br>and \
maybe it's something about PHP5 I haven't figured out.<br><br>Can anybody shed light \
on this problem?<br><br>_______________________________________________<br>Quanta \
mailing list<br>Quanta@mail.kde.org<br><a target="_blank"  \
href="https://mail.kde.org/mailman/listinfo/quanta">https://mail.kde.org/mailman/listinfo/quanta</a><br></div></div><br></div></div><br>
  <hr size=1>Got a little couch potato? <br>
Check out fun <a href="http://us.rd.yahoo.com/evt=48248/*http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz">summer \
activities for kids.</a></body></html>



_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic