Katirswami, If you don't get any answers, I'd suggest creating a 'stack version' of the problem, then post it and others can take a look. Most of us don't have a Rev server available to test scripts on.
-Chipp On Feb 18, 2008 12:43 PM, Sivakatirswami <[EMAIL PROTECTED]> wrote: > I dunno... I will submit this to the Omniscient Revolution Users List > > Some wizard will know... > > ------- > Namaste, Swami > > This is either a bug report, or, the split comand has changed? Do you > still have a copy of the old "mc" ? > > Running the identical program on my old "mc" interpreter at work, versus > running it on the "revolution" interpreter on vel, I get the correct > results at work, and incorrect results on vel. > > Aum Aum > > *_Vel: > > > _*------------ > code > ------------ > #!/usr/local/bin/revolution > > on startup > read from stdin until empty > put it into testdata > > repeat for each line thisline in testdata > split thisline by "|" > put thisline[1] > put thisline[2] > put thisline[3] > end repeat > > end startup > ------------ > data > ------------ > 1|2|3|4 > 5|6|7|8 > 9|10|11|23 > ------------ > results > ------------ > 1 > 2 > 3 > 9 > 10 > 11 > > > *_Work > > > _* > > code > .......... > #!/usr/local/bin/mc > > on startup > read from stdin until empty > put it into testdata > > repeat for each line thisline in testdata > > split thisline by "|" > put > thisline[1] > put > thisline[2] > put > thisline[3] > end repeat > > end startup > .......... > data > .......... > 1|2|3|4 > 5|6|7|8 > 9|10|11|23 > .......... > results > .......... > 1 > 2 > 3 > 5 > 6 > 7 > 9 > 10 > 11 > > > > > > _______________________________________________ > use-revolution mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
