Jump to content

How to use a variable from a Input Box?


Welsh
 Share

Recommended Posts

Guest Mixture63

hey, once again another quick question. I have an input box but i want to save what the user puts in the box as a variable. how would i do that?

$MyVariable = InputBox("Enter you name now or you will be shot in the streets.")

Not only can you pass stuff to functions, but functions can give stuff back to you.

So you just do $MyVariable = TheFunc() and that functions, (if it is a return func) will give stuff back.

Edited by Mixture63
Link to comment
Share on other sites

$MyVariable = InputBox("Enter you name now or you will be shot in the streets.")

Now only can you pass stuff to functions, but functions can give stuff back to you.

So you just do $MyVariable = TheFunc() and that functions, (if it is a return func) will give stuff back.

thanks, after posting it i found it in the help file, but thanks anyway.

[center].: If I Ask A Question, Thanks For The Help! :.[/center][center].: Welsh :.[/center]

Link to comment
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
 Share

  • Recently Browsing   0 members

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