The Command extension enables the execution of Multi-Line Commands from Terminal prompt.
Installation & Execution
Import %ZML.xml to Namespace %SYS
Optionally you may add this line to your %ZLANGC00.mac for a simplified use:
ZMLzmlotherwise, just call it from the terminal command prompt
USER>do ^%zml
Usage
at the prompt USER:zml:1>
- enter commands as usual
- trigger execution by an empty line
- stop multi-line option with a single '.' (dot) at first position
Example
USER>zml
Entering multi line mode. Run with empty line. Stop with single "."
USER:zml:1> for i=1:1:20 {
USER:zml:2> write i
USER:zml:3> write ": "
USER:zml:4> if $x>70 write !
USER:zml:5> }
USER:zml:6> 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17:
18: 19: 20:
USER:zml:1> .
USER>


.png)

.png)


