using stdout

Mark Wieder ahsoftware at sonic.net
Wed Dec 18 12:24:34 EST 2019


On 12/18/19 7:01 AM, JB via use-livecode wrote:
> This isn’t something I need but I read in a older manual
> you can write to the terminal using stdout.  It said the
> terminal needs to  be open and you use code like
> below to log or write to the terminal;
> 
> put "Hello world." into tMessage
> write tMessage && the long time & return to stdout
> 
> When I run this code nothing happens even though
> I have the terminal open.
> 
> Does anyone know how to use stdout with the terminal
> from within a stack?

Works here, on linux at least.
Launch LC from a commandline, then from the messagebox type
write "hello, world" to stdout

-- 
  Mark Wieder
  ahsoftware at gmail.com



More information about the use-livecode mailing list