Re: Newbee question (Stupid??!)

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

> Maybe I am being stupid! But I am new at Euphoria and stuck with the
> following:
> I am using WIN32 LIB to receive a numeric field using gettext(). gettext()
> is returning me a sequence, is there a way I can convert this sequence to
> numeric, for validating if the user has at all entered numeric.

You can use value () from get.e
It will return a sequence of two elements like { status, value }

WHen the status equals zero it has succesfully converted the value.
For more information, search for value () in library.doc (library.html)

Good luck.
Ralf N.

nieuwen at xs4all.nl

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

Search



Quick Links

User menu

Not signed in.

Misc Menu