put to stdout in standalone?

Alex Rice alex at mindlube.com
Fri Dec 19 13:39:52 EST 2003

On Dec 19, 2003, at 11:29 AM, Dar Scott wrote:

> I use "write <val> to stdout", especially when sneaking up on a crash. 
>  It goes to the console.

Thanks I'll try that. I thought "put" also wrote to stdout in a 
standalone. Maybe just when run from the command-line?

> You might want to make a custom command that checks an error reporting 
> level and the environment and decides which methods to use (message 
> box, dialog box, stdout or a combination).

Good idea

>> Where does it go on Windows?

> I don't know where it goes when an application is double-clicked.  I 
> have used stdin and stdout when running a gui-rev from a command line, 
> but it was very buggy and IIRC ran into the classic Revolution 
> ambiguity of empty and end.  I think I was told that use of stdin and 
> stdout in that manner was not appropriate use of Revolution.

OK. Anyone know how this works on windows?

Alex Rice <alex at mindlube.com> | Mindlube Software | 

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco

More information about the Use-livecode mailing list