Jump to content

Recommended Posts

Posted

When I try to run this:

Dim $aArray[2]

$aArray[0] = 'arrrg'

_My_Func()

Func _My_Func($arg = $aArray[0])
    MsgBox(0, '', $arg)
EndFunc

It won't run and I get this error:

Badly formatted "Func" statement.

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
×
×
  • Create New...