Sign in to follow this  
Followers 0
Opinical

Reading and printing Variables

6 posts in this topic

Long story short I'm making a new script and having an issue reading and writing variables in the same script.

So basically I want the script to read a variable then print it. Just curious.

Share this post


Link to post
Share on other sites



Long story short I'm making a new script and having an issue reading and writing variables in the same script.

So basically I want the script to read a variable then print it. Just curious.

"So, long story short, I have a question about something that somebody did somewhere in response to something that someone else wanted."

Care to elaborate? :)

Share this post


Link to post
Share on other sites

"So, long story short, I have a question about something that somebody did somewhere in response to something that someone else wanted."

Care to elaborate? :)

Wow now that is vague lol. I asked my question, I wanted to know how I can read and then print a variable.

*BTW: Love the Ava*

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Read a variable from where? A command window? A web site? An input control?

Here you go:

$variable = "Look at me, i'm a variable!"

MsgBox(0,"",$variable)

Edited by weaponx

Share this post


Link to post
Share on other sites

Wow now that is vague lol. I asked my question, I wanted to know how I can read and then print a variable.

Your question was nearly just as vague... but i'll stab at the dark...

$Variable = "Monkey" ;declare variable
$Variable2 = $Variable ;read $Variable and declare it to $Variable2
Msgbox(0,"",$Variable2) ;get the value of $Variable2 and display in a a msgbox

Does that help?

PS-

*BTW: Love the Ava*

Thanks :)

Share this post


Link to post
Share on other sites

Read a variable from where? A command window? A web site? An input control?

I was speaking more in general but a in specific reading from a command window. But I

got this down now. Thank though.

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