TNMP/ Smalltalk
From neil.tappsville.com
Jump to navigationJump to search
Forward
A guide... be aware that Proviso does not use IBM Smalltalk! (uses cincom) but this is a good start
http://www.inf.ufsc.br/poo/smalltalk/ibm/
CME Formulas
Edited using 'fed' - source the datachannel environment, then run fed.
Access a Previous value
The following code will allow a previous value to be stored and referenced during the next execution, this allows you to implement a 'delta' formula at the CME level.
Note, when assigning the input to the unbound variable you must specify '(input) value'.
Input Bindings
Variable Name | Type | Formula Name |
input | Number | ~AP~Generic~Universal~Throughput~Inbound Throughput (bps) |
preValue | Number |
Output Type = Numeric
Formula Text: deltaValue
Print to datachannel log
Print the value of a variable {{{ self system logInfo:'NEILdebug' messageId:#NEILdebug text:'someVar value is : ', someVar asString. }}}
Print the resource Name and some variable
resource subelementName