Sign in to follow this  
Followers 0
qwertylol

How do I creat "$" ?

5 posts in this topic

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

Opt("ExpandVarStrings", 1)

$can = 5

"today I ate $can$ cans of fish"

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

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

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  
Followers 0