qwertylol Posted June 26, 2007 Posted June 26, 2007 radius = input(What is the radius?) man this is one line that owns au3. in au3 i have to do Dim $radius just to declare the variable and i don't even know how to pop up a box for input and python got it in one line. switch people.
sandman Posted June 26, 2007 Posted June 26, 2007 (edited) $radius = InputBox("YourTitle", "What is the radius?") Edited June 26, 2007 by sandman [center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center]
qwertylol Posted June 26, 2007 Author Posted June 26, 2007 $radius = InputBox("YourTitle", "What is the radius?") two lines
herewasplato Posted June 26, 2007 Posted June 26, 2007 two lines How is that two lines? You do not have to DIM $radius but if you wanted to:Dim $radius = InputBox("YourTitle", "What is the radiusÉ][ÝÊyou could still do it in one line of AutoIt code. [size="1"][font="Arial"].[u].[/u][/font][/size]
FreeFry Posted June 26, 2007 Posted June 26, 2007 radius = input(What is the radius?)man this is one line that owns au3.in au3 i have to doDim $radius just to declare the variableand i don't even know how to pop up a box for input and python got it in one line.switch people.How stupid are you? Seriously? :S
herewasplato Posted June 26, 2007 Posted June 26, 2007 How is that two lines? You do not have to DIM $radius but if you wanted to:Dim $radius = InputBox("YourTitle", "What is the radiuÏÉ][ÝÊyou could still do it in one line of AutoIt code....but doing that makes you lose the @Error feedback from the InputBox function... [size="1"][font="Arial"].[u].[/u][/font][/size]
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now