RE: puzzle
- Posted by rudy toews <rltoews at ilos.net> Sep 29, 2003
- 562 views
George Walters wrote: > > > 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 \" > > george > > hi George i don't know what tmp is holding at the time, but suspect it also has double quotes or a string inside it. rudy lotterywars