June 15, 2024, 09:28:16 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


SYNTAX ERROR

Started by TexasPete, December 26, 2008, 08:16:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TexasPete

PLEASE HELP.  I HAVE DONE THE FOLLOWING.
DEF BACKSLASH:STRING

BACKSLASH="\"

I am getting a sytax error message. I do not know why . I have other defined strings that use the same format.
They work fine.
Anybody know what I am doing wrong.
Texas Pete

Ionic Wind Support Team

Because you haven't read the users guide.  Specifically the part about string literals:

http://www.ionicwind.com/guides/emergence/language_topics_constants_and_literals.htm

To insert a backslash into the string you need to use two of them as it is an escape character, as outlined in the guide.

BACKSLASH="\\"

Paul.
Ionic Wind Support Team