Jump to content

Recommended Posts

Posted

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?

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

Guest Mixture63
Posted (edited)

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
Posted

$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]

Guest Mixture63
Posted

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

ok. How old are you btw?

Posted

ok. How old are you btw?

16 and why?

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

Guest Mixture63
Posted (edited)

16 and why?

No reason.

I'm 14.

Edited by Mixture63

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...