Tilde "~" and 4GL

Hi All,



I just spent a good chuck of my time debugging my 4GL code and I thought
I would share my experience.



I was trying to write this line:

REPEAT i = 1 TO NUM-ENTRIES(cRepList, "~"):



When dealing with tildes as strings you have to use a double tilde. "~~"



In 4GL the tilde is a special character.



Some of you may already know this, but I thought I share anyway. :)










Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191
jrojas@... | www.matsinc.com Ask us about our clean, green and beautiful matting and flooring


This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.


[Non-text portions of this message have been removed]