qwertylol Posted June 26, 2007 Share 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. Link to comment Share on other sites More sharing options...
sandman Posted June 26, 2007 Share 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] Link to comment Share on other sites More sharing options...
qwertylol Posted June 26, 2007 Author Share Posted June 26, 2007 $radius = InputBox("YourTitle", "What is the radius?") two lines Link to comment Share on other sites More sharing options...
herewasplato Posted June 26, 2007 Share 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] Link to comment Share on other sites More sharing options...
FreeFry Posted June 26, 2007 Share 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 Link to comment Share on other sites More sharing options...
herewasplato Posted June 26, 2007 Share 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] Link to comment Share on other sites More sharing options...
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