Thanks Tab
_ _ _ _ _ _ _ _ _ 

Convert them to strings, as in:

string(useCredits)

instead of just 'useCredits'

Note that you'll have to convert them back to integers when retrieving 
them, just to keep everything equal.

- Tab

At 01:28 PM 6/19/01 -0400, Gene Fritzinger wrote:
>Hi List,
>I am trying to use baWriteIni with global variables that are either TRUE 
>or FALSE and I get the script error "String expected".  Can anyone suggest 
>what I need to do to be able to write these types of variables to an Ini file?
>
>ex of code:
>set OK = baWriteIni ("Measures/Options", "UseCredits", useCredits, 
>"AR6training.ini")
>
>Thanx in advance,
>g fritzinger



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to