Jump to content

Recommended Posts

Posted

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.

Posted

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? :)

Posted

"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*

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
Posted

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 :)
Posted

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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...