[prev in list] [next in list] [prev in thread] [next in thread]
List: quanta
Subject: Re: [Quanta] Problem with digits > 08 (was < 08)
From: John Hicks <johnlist () gulfbridge ! net>
Date: 2007-08-05 17:11:13
Message-ID: 46B604B1.70105 () gulfbridge ! net
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Silviu Candale wrote:
> 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
>
>
> ------------------------------------------------------------------------
> Got a little couch potato?
> Check out fun summer activities for kids.
> <http://us.rd.yahoo.com/evt=48248/*http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz> \
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Quanta mailing list
> Quanta@mail.kde.org
> https://mail.kde.org/mailman/listinfo/quanta
>
--
John Hicks
When replying to me personally, please use "johnhicks" instead of "johnlist" in the \
email address.
[Attachment #5 (text/html)]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Silviu Candale wrote:
<blockquote cite="mid730019.49824.qm@web35906.mail.mud.yahoo.com"
type="cite">
<style type="text/css"><!-- DIV {margin:0px;} --></style>
<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 <a class="moz-txt-link-rfc2396E" \
href="mailto:michael@calwell-computing.co.uk"><michael@calwell-computing.co.uk></a><br>
To: <a class="moz-txt-link-abbreviated" \
href="mailto:quanta@mail.kde.org">quanta@mail.kde.org</a><br>
Sent: Sunday, August 5, 2007 4:12:04 PM<br>
Subject: [Quanta] Problem with digits < 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>
<a class="moz-txt-link-abbreviated" \
href="mailto:Quanta@mail.kde.org">Quanta@mail.kde.org</a><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>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Quanta mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:Quanta@mail.kde.org">Quanta@mail.kde.org</a> <a \
class="moz-txt-link-freetext" \
href="https://mail.kde.org/mailman/listinfo/quanta">https://mail.kde.org/mailman/listinfo/quanta</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
John Hicks
When replying to me personally, please use "johnhicks" instead of "johnlist" in the \
email address.</pre> </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