659
edits
Carandraug (talk | contribs) m (small fixes (should use preview more often)) |
Carandraug (talk | contribs) (→Are we running octave?: why are we using persistent) |
||
Line 5: | Line 5: | ||
== Are we running octave? == | == Are we running octave? == | ||
The most commonly used trick is to create a subfunction that will check whether we are | The most commonly used trick is to create a subfunction that will check whether we are running octave, and use it as condition to run selected block of code that are incompatible. Due to the persistent variable it can be called repeatedly without a heavy performance hit. | ||
function foo | function foo |