Page 13 - Demo
P. 13


                                    Interface to Python%uf09f%uf09fRCPConsult2017-2025Page 13The exampleat the end of section 8can be rewritten asDEFFUNC(41)=pythonf(\DEFFUNC(42)=pythonf(\DEFFUNC(43)=pythonf(\DEFFUNC(44)=FUNC(41)+FUNC(42)+FUNC(43)Evaluation of DEFFUNC(44)now looks like:As a thirdpossibility to access these functions you can simply type pythons(\pythonf(\without accessing the menu items.10.Script Editor forthe Pythoninterface in STRURELSTRURELprovides a complete environment to operate with Pythonscripts by an integrated ScriptEditorwith a speciallydeveloped lexer powered by the Scintillacore. It features:%u2022syntax colouring of engine keywords and STRUREL variables,%u2022foldingsupport with hot areas forcollapsible nodes,%u2022automatic detection of URL as a clickable link,%u2022matching braces highlighting,%u2022extended RTF export,%u2022deep error tracing,%u2022interiorlink with Stochastic Model,%u2022numerical evaluation on the fly,%u2022automatic restart of engine for a new run or for a changed content of the script.
                                
   7   8   9   10   11   12   13   14   15   16