wsh2 Feature discussion

exampleFunktion
$varsimple variable access
${var.$eins}complex variable access
$<fileName blockOrCode $;input from fileName
$<$fileVar blockOrCode $;input from fileVar
$<.fEdit() blockOrCode $;input from rexxFile
$=fiVa=. jBuf() $; $>$fiVa blockOrCodesave output to var
$@=[select .... $] $! call sqlprocess long input
$$ rollback $! call sqlprocess short input
$(run $, arg $, arg $)general primary for call with arguments yielding return value (obj or string)
 nested assignments: with
 table assignments/creation
  
  
 variabeln und with logik vereinfachen!
  

kind determines the purpose of a piece of source. 6 kinds:

  • for data
    • . = object: text is rexx, expression yields an object reference
    • - = string: text is rexx, expression yields a string
    • = = skeleton: text is literal data, expression yields a string
    • # = literal text: text without any interpretation (except ending delimiter)
  • for code
    • @ = rexxshell: text is rexx, wsh must be escaped by $
    • : = pureshell: no text, most $ are not necessary