Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I pass REBOL arguments from the command line?

Command line pass REBOL
0
Posted

How do I pass REBOL arguments from the command line?

0

To pass arguments into a script when launching REBOL from the command line, do the following: commandline> rebol %some-script.r 54321 Launch! Assuming %some-script.r is written as follows: REBOL [ Title: “Command-Line Argument Example” ] print mold system/options/args print mold system/script/args The following will be output [“54321” “Launch!”] “54321 Launch!” As the Macintosh OS doesn’t have a native command line, command-line arguments do not apply to the Mac.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123