Page 13 - Demo
P. 13
Interface to Ruby%uf09f %uf09f RCP Consult 2020-2026 Page 13can be replaced by oneFLIM(1)=rubyf(\The example at the end of section 8 can be rewritten asDEFFUNC(41)=rubyf(\DEFFUNC(42)=rubyf(\DEFFUNC(43)=rubyf(\DEFFUNC(44)=FUNC(41)+FUNC(42)+FUNC(43)Evaluation of DEFFUNC(44) now looks like:As a third possibility to access these functions you can simply type rubys(\rubyf(\10. Script Editor for the Ruby interface in STRURELSTRUREL provides a complete environment to operate with Ruby scripts by an integrated Script Editor with a newly developed lexer powered by the Scintilla core. It features:%u2022 syntax colouring of engine keywords and STRUREL variables,%u2022 folding support with hot areas for collapsible nodes,%u2022 automatic detection of URL as a clickable link,%u2022 braces highlighting,%u2022 extended RTF export,%u2022 deep error tracing,%u2022 interactive link with Stochastic Model,%u2022 numerical evaluation on the fly,%u2022 automatic restart of engine for a new run or for a changed content of the script.

