Jump to content

Optional ByRef


Ejoc
 Share

Recommended Posts

So I did some searching but it didn't answer my question, so:

Can I have an optional ByRef I would like to make this work... This is just an example the real code is different.

Global $a="a",$b="b"

Test($b); $b = ""
Test()   ; $a = ""

Func Test(ByRef $var = $a)
    $var = ""
EndFunc
Start -> Programs -> AutoIt v3 -> AutoIt Help File -> Index -> (The Function you are asking about)----- Links -----DllStruct UDFsRSA Crypto UDFs
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...