Jump to content

python


Recommended Posts

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

$radius = InputBox("YourTitle", "What is the radius?")

Edited 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

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.

How stupid are you? Seriously? :S

Link to comment
Share on other sites

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

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