1. RE: string_to_sequence

Something wrong with the function 'get'?

-- Brian


tone.skoda at siol.net wrote:
> Can someone write function string_to_sequence (), ?
> 
> "{1, 2, 3, {4, 5}, {}}"
> 
> ???

new topic     » topic index » view message » categorize

2. RE: string_to_sequence

Oops, jumped the gun a bit.  The function 'value' might better suit your 
needs.

Brian Broker wrote:
> Something wrong with the function 'get'?
> 
> -- Brian
> 
> 
> tone.skoda at siol.net wrote:
> > Can someone write function string_to_sequence (), ?
> > 
> > "{1, 2, 3, {4, 5}, {}}"
> > 
> > ???
> 
>

new topic     » goto parent     » topic index » view message » categorize

3. RE: string_to_sequence

This is what function value() is for.

include get.e
sequence string, eu_obj

string = "{1, 2, 3, {4, 5}, {}}"
eu_obj = value(string) --> eu_obj = {GET_SUCCESS, {1, 2, 3, {4, 5}, {}}}

Euphoria is great, isn't it?

> -----Original Message-----
> From:	tone.skoda at siol.net [SMTP:tone.skoda at siol.net]
> Sent:	Thursday, October 11, 2001 9:20 PM
> To:	EUforum
> Subject:	string_to_sequence
> 
> 
> Can someone write function string_to_sequence (), ?
> 
> "{1, 2, 3, {4, 5}, {}}"
> 
> ???
> 
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu