Unterminated string

Navigation:  Messages > Macro Compiler Messages > Errors >

Unterminated string

Previous pageReturn to chapter overviewNext page

This compiler error will occur if a string is not terminated (ie. there is no matching apostrophe at the end of the string). For example:

 

  if WeekdayOf(Today()) in [6,7]        

         sRESULT = 'Weekend !

  endif

 

To prevent such errors, always write both apostophes, '', used for strings, at the same time, and only then go back and fill out the text inside (this is analogous to the method of writing skeleton blocks when using block structures).


Topic 109900 updated on 16-Apr-2002.
Topic URL: http://www.qppstudio.net/webhelp/index.html?unterminatedstring.htm