|
Post by Walt Decker on Aug 10, 2022 10:18:56 GMT -5
Greater flexibility in naming forms and controls, e. g. :
BUTTON #WIN.DLG.BTN.OK TEXTBOX #WIN.DLG.OLD.NAME
OPEN "WIN FORM" FOR DIALOG AS #WIN.DLG
Greater flexibility in control handlers, e. g. :
LISTBOX #WIN.LIST, Array$(), FN.LIST FUNCTION FN.LIST(LstHndl$, LstId, [OPTIONAL Param1, Param2, ...]) '################################################ ' ARGUMENTS: ListHndl$ = string representation of numeric control handle 'LstId = numeric control ID 'OPTIONAL = following parameters are optional and can be passed ' to other SUBS/FUNCTIONS '################################################
FN.LIST = RetVal END FUNCTION
OR
SUB FN.LIST(LstHndl$, LstId, [OPTIONAL Param1, Param2, ...])
END SUB
Ability to reference function without have to specify a return value, e. g.
Foo(A, B, C)
rather than
RetVal = Foo(A, B, C)
|
|