Re: puzzle

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

----- Original Message ----- 
From: "George Walters" <gwalters at sc.rr.com>
To: "EUforum" <EUforum at topica.com>
Subject: puzzle


> 
> 
> I'm getting this message and can't figure it out.
> 
> sequence found inside character string
>     r = {97'a',114'r',67'C',97'a',115's',104'h',77'M',116't',100'd'}
>     o = {1,30200,{34'"',49'1',57'9',57'9',56'8',45'-',48'0',56'8',45'-',
> 49'1',49'1',34'"'},1001,1233,228,42.33,{34'"',49'1',57'9',57'9',56'8',
> 45'-',48'0',56'8',45'-',49'1',53'5',34'"'},0.43,500,4,0,{65'A',67'C',
> 67'C',85'U',84'T',69'E',67'C',72'H',32' ',77'M',65'A',67'C',72'H',73'I',
> 78'N',69'E'},31100}
> 
> Here's the code producing it and I want a character string (which I thought
> was a sequence)
> 
>             r = sprintf( "\"%04d-%02d-%02d\"",tmp[2])
> 
> I've also tried it w/o the \"

tmp[2] must be a sequence that contains another sequence.

-- 
Derek

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

Search



Quick Links

User menu

Not signed in.

Misc Menu