Re: problem
- Posted by irvm at ellijay.com Oct 12, 2003
- 506 views
On Sunday 12 October 2003 02:21 pm, you wrote: > > > I'm trying to write a functon to convert a sequence (of numbers and > strings) to a long string sequence. > i.e {1,2,{2002,12,30}} to "(1,2,"2002-12-30")" sequence s s = {1,2,{2002,12,30}} printf(1,"(%d, %d,\"%d-%d-%d\")", {s[1],s[2],s[3][1],s[3][2],s[3][3]}) --output: (1, 2,"2002-12-30") Press Enter... Irv