kinda
Procedure Func_with_opt_arg (arg1.l, arg2.s, Optional arg3.s="void")
If arg3 = "void" : MessageRequester ("Default", "Void", 1) : EndIf
; Blablabla
EndProcedure
That's all folks

Code: Select all
Procedure Func_with_opt_arg (arg1.l, arg2.s [, arg3.s])
If arg3 = "" : MessageRequester ("Default", "Void", 1) : EndIf
; Blablabla
EndProcedure
Code: Select all
Msgbox("File doesn't exist")
Msgbox("Error","File doesn't exist")
Msgbox("Error","File doesn't exist",#RetryIgnore)
Msgbox("Error","File doesn't exist",#RetryIgnore,#IconAlert)
Msgbox("Error","File doesn't exist",#RetryIgnore,#IconAlert,#Systemmodal)
Code: Select all
Global P.MsgboxStructure
P.title="Error"
P.text="File doesn't exist"
(...)
Msgbox(@P)