Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
rexx <program_file>
regina <program_file>
my_prompt [COLOR=#804040][b]=[/b][/color] [COLOR=#ff00ff]"enter something: "[/color]
[COLOR=#0000ff]/* display prompt and enter input on the new line */[/color]
[COLOR=#804040][b]say[/b][/color] [COLOR=#ff00ff]"enter something:"[/color]
[COLOR=#804040][b]parse pull[/b][/color] my_word
[COLOR=#804040][b]say[/b][/color] [COLOR=#ff00ff]"entered:"[/color] my_word
[COLOR=#0000ff]/* display prompt and enter input on the same line */[/color]
[COLOR=#804040][b]call [/b][/color][COLOR=#008080]charout[/color] [COLOR=#804040][b],[/b][/color] my_prompt
[COLOR=#804040][b]parse pull[/b][/color] my_word
[COLOR=#804040][b]say[/b][/color] [COLOR=#ff00ff]"entered:"[/color] my_word
rexx rexx_console_io.rex
regina rexx_console_io.rex
my_cmd [COLOR=#804040][b]=[/b][/color] [COLOR=#ff00ff]"DIR * /B"[/color]
my_cmd_queue [COLOR=#804040][b]=[/b][/color] my_cmd [COLOR=#ff00ff]"| rxqueue"[/color]
[COLOR=#804040][b]call [/b][/color][COLOR=#008080]execute_command_and_get_output[/color]
[COLOR=#0000ff]-- FIFO[/color]
my_cmd_queue [COLOR=#804040][b]=[/b][/color] my_cmd [COLOR=#ff00ff]"| rxqueue /FIFO"[/color]
[COLOR=#804040][b]call [/b][/color][COLOR=#008080]execute_command_and_get_output[/color]
[COLOR=#0000ff]-- LIFO[/color]
my_cmd_queue [COLOR=#804040][b]=[/b][/color] my_cmd [COLOR=#ff00ff]"| rxqueue /LIFO"[/color]
[COLOR=#804040][b]call [/b][/color][COLOR=#008080]execute_command_and_get_output[/color]
[COLOR=#804040][b]exit[/b][/color]
[COLOR=#0000ff]---------------------------------------[/color]
[COLOR=#008080]execute_command_and_get_output[/color][COLOR=#804040][b]:[/b][/color]
[COLOR=#804040][b]say[/b][/color] [COLOR=#ff00ff]"Command to Execute: "[/color]
[COLOR=#804040][b]say[/b][/color] [COLOR=#ff00ff]" "[/color] my_cmd_queue
my_cmd_queue
[COLOR=#804040][b]say[/b][/color] [COLOR=#ff00ff]"Command Output:"[/color]
[COLOR=#804040][b]do[/b][/color] i[COLOR=#804040][b]=[/b][/color]1 [COLOR=#804040][b]while[/b][/color] [COLOR=#008080]queued()[/color] [COLOR=#804040][b]\=[/b][/color] 0
[COLOR=#804040][b]parse pull[/b][/color] line
[COLOR=#804040][b]say[/b][/color] [COLOR=#ff00ff]" "[/color] [COLOR=#008080]right([/color]i[COLOR=#804040][b],[/b][/color]2[COLOR=#804040][b],[/b][/color]0[COLOR=#008080])[/color] [COLOR=#804040][b]||[/b][/color] [COLOR=#ff00ff]". "[/color] [COLOR=#804040][b]||[/b][/color] line
[COLOR=#804040][b]end[/b][/color]
[COLOR=#804040][b]say[/b][/color]
[COLOR=#804040][b]return[/b][/color]
Command to Execute:
DIR * /B | rxqueue
Error:94.101 - Error connecting to 127.0.0.1 on port 5757: "No error"
Command Output:
Command to Execute:
DIR * /B | rxqueue /FIFO
Error:94.108 - Invalid switch passed. Must be one of "/fifo, /lifo, /clear, /queued, /pull, /list"
Command Output:
Command to Execute:
DIR * /B | rxqueue /LIFO
Error:94.108 - Invalid switch passed. Must be one of "/fifo, /lifo, /clear, /queued, /pull, /list"
Command Output: