Jump to content
Sign in to follow this  
dabus

Func Syntax

Recommended Posts

Anyone got a workaround for those Func - stuff, so one could write

func closewin ( "Notepad" ) to replace

$a="Notepad"

func closewin ( $a) ???

Would be quit cool. (at least I think so) :(

Share this post


Link to post
Share on other sites

Anyone got a workaround for those Func - stuff, so one could write

func closewin ( "Notepad" )  to replace

$a="Notepad"

func closewin ( $a) ???

Would be quit cool. (at least I think so)  :(

<{POST_SNAPBACK}>

Are you looking to create a function or use the current close window function?

Share this post


Link to post
Share on other sites

Anyone got a workaround for those Func - stuff, so one could write

func closewin ( "Notepad" )  to replace

$a="Notepad"

func closewin ( $a) ???

Would be quit cool. (at least I think so)  :(

<{POST_SNAPBACK}>

Func closewin ( $a="Notepad")

...

EndFunc

Like this, you mean?

-Sven

Share this post


Link to post
Share on other sites

I would like to write the number/words as is and not as a $var.

Function ( 1 , 2 )

or

Function ( $a=1 , $b=2 )

...

Is there support for this with a newer version?

I am not that bleeding edge guy. :(

Share this post


Link to post
Share on other sites

Are you getting an error when you pass paremeters to a function that isnt in a variable?

I am not quite sure of your problem. If you could please be a bit more concise I may be able to help.

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...