--- In [email protected], Alexander Cicovic <[EMAIL PROTECTED]> wrote: > Hello there, > > I now have a problem with vectors. I have the following script: > > sText = "hello\r\nhi\r\n" > vecTextLines = Vec.CreateFromLines(sText) > win.debug(vecTextLines[0]) > > I re-read the documentation on CreateFromLines, and it says that \r\n > should terminate the line and be removed from the string. In other > words, I should have two vector items without \r\n terminators. > However, the above script produces a single vector item with the > entire text in it, including terminators. I tried the other > terminators but they do not work either. What am I doing wrong?
It seems that "\" is not your escape character. Check pproconf.exe | Advanced Setup | Characters | Escape Character ... BTW, you may use the following which is independent of the specific Escape Character sText = esc(?"hello\r\nhi\r\n",?"\") Sean Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
