likely value() error!

new topic     » topic index » view thread      » older message » newer message

I have the following program:

include get.e
sequence s
object x
s =3D "1,234"
x =3D value(s)
? x[1] =3D GET_SUCCESS
? x

I get the following output:

1
{0,1}

Now, I wrote this program to see what would happen if I tried to convert =
a
number like 1,234 i.e, with a comma.  Not only did it not convert propert=
y,
but the error code was GET_SUCCESS.  Hmmm.

Alan
  =

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu