Jump to content
Sign in to follow this  
qwertylol

How do I creat "$" ?

Recommended Posts

qwertylol

FileWrite ( filehandle or "filename", "line" )

Actually, what I meant was how I can creat a string mixing both "lines" and $lines.

Something like this:

$can = 5

"today I ate $can s of fish"

Share this post


Link to post
Share on other sites
gamerman2360

Opt("ExpandVarStrings", 1)

$can = 5

"today I ate $can$ cans of fish"

Share this post


Link to post
Share on other sites
Paulie

FileWrite ( filehandle or "filename", "line" )

Actually, what I meant was how I can creat a string mixing both "lines" and $lines.

Something like this:

$can = 5

"today I ate $can s of fish"

Use "&" to connect.

$can = 5
"MsgBox(0,"Test", "Today, I ate "&$can&" cans of fish.")
Edited by Paulie

Share this post


Link to post
Share on other sites
qwertylol

I can't find Opt in the help file.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.