argument

beasscript-logo-small

Open a Window and send the Arguments

in the Master-Script you can check the Arguments with this Command.

if Argument not exist, beas close this window.

 

argument=<variable>=<typ>=description
arg=<variable>=<typ>=description
arg=<variable>=default=<defaultvalue>[=<description>]

 

Check, if the Variable is existing and the Typ is correct

If any Error, beas display an error message and close current window

 

Check argument docentry

argument=al_docentry=int=document-entry
// if variable not existing: Argument (al_docentry) document-entry: not found
// if variable not numberic: Argument-Error in Argument (al_docentry) document entry: Correct Typ is int. But current Value is ....

 

Check and set default

argument=as_doctype=default=17
// if as_doctype not existing, then as_doctype is setting to "17"

 

Check, set default and display Errormessage, but don't cancel the window

argument=as_doctype=default=17=document-type
// if as_doctype not existing, then as_doctype is setting to "17" and display error message: Argument (as_doctype) document-type not found. Set to default: 17