declare=name=objectname=[subfunction]
creates a Object ( powerscript: inherited Object ue_object from Object )
More info for object see addtolibrarylist
// send string "MyFunction" to ue_test.of_function.
declare=mytest=ue_test
mytest=MyFunction
If you provide a Sub function than only the Sub Function will be called.
// send string "Unterfunktion=MyFunction" will be send to ue_test.of_funktion.
declare=mytest=ue_test=unterfunktion
mytest=MyFunction
Example
declare=dtw=ue_datastorevalues
dtw=add=item=select * from oitm where itemcode='art01'
if <item.rowcount> = 0 then
messagebox=no entry found
else
messagebox=Item: <item.itemcode>, Itemname: <item.itemname>, Onhand: <item.onhand,#,#0.00>
end if