Hello,

I have a problem with a line in my script and cant find where the fault is
 Code:
Function Progress( $ProgressText, optional $Step )
	If $Step=""
		$Step=$progressstep
	EndIf
	$ProgressTextBox.Text = $ProgressText
	If $ProgressBar.Value + $Step < 101
		$ProgressBar.Value = $ProgressBar.Value+$Step
		If $DebugFlag = $TRUE		 
			Sleep $sleeptime
		EndIf
	Else
		$ProgressBar.Value=100
	EndIf
	$=Execute($Form.DoEvents())
EndFunction


specific is this line
 Code:
$=Execute($Form.DoEvents())

the error is
 Quote:
invalid missing/function call: missing comma!

I hope you can help

can someone help me