Agreed.

On Dec 16, 2005, at 10:44 AM, Patrick R. Michaud wrote:

Leopold Toetsch wrote:
What is correct:

 new P0, .PerlString
 set P0, "1E5"
 set I0, P0                # 1 or 100_000

100_000, please.  But also note that for .PerlString, we ought to
also have (from S02):

    "0xffff"             # 65535
    "0b100010001000"     # 2184
    "0o4210"             # 2184
    ":16<ffff>"          # 65535
    ":2<1.1> * 2 ** 10"  # 1536

So, when looking at

 new P0, .String
 set P0, "1E5"
 set I0, P0                # 1 or 100_000

I agree with Leo and think this should be just 1, so that we
can say that .String doesn't do any special conversions (or
try to explain which conversions it does do).

Pm


Reply via email to