declare

beasscript-logo-small

declare=name=objectname=[subfunction]

 

creates an Object ( powerscript: inherited Object ue_object from Object )

 

For more information on object see addtolibrarylist

 

// send string "MyFunction" to ue_test.of_function.

declare=mytest=ue_test

mytest=MyFunction

 

 

If you provide a sub-function, then 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

 

 

 

 

help-beispiel 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