Sign in to follow this  
Followers 0
mooboo

Quotes in variables?

3 posts in this topic

Script is like this...

$hey = IniRead("config.ini", "one", "hey", "default")

msgbox (0, "", "" & $hey & "")

exit

Config is like this...

[one]

hey="hey"

The return is hey and not "hey". How can I get the variable to return with "" 's?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Use ' in front of the desired " in the ini file:

[one]
hey='"hey"'
Edited by msb5150

Share this post


Link to post
Share on other sites

For more information on the issue, see FAQ #7 in the helpfile.


[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0