Another CGI question...

Jeanne A. E. DeVoto jeanne at runrev.com
Sat Apr 20 21:44:01 EDT 2002


At 8:57 PM -0700 4/19/2002, Greg Saylor wrote:
>Another CGI/scripting question...   What if I want to use the mc as a
>general-purpose scripting engine... Is there some way to send output to
>STDOUT/STDERR and recieve input from same?....  I looked but couldn't
>find anything... ;-(

You can use read to file and write to file with stderr, stdin, and stdout. E.g.

  write "Ummm...oops" to file stderr
  read from stdin until return

Look up "stdin", "stderr", and "stdout" in the dictionary.

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/





More information about the use-livecode mailing list