LB Booster
« console programs converted to BBC Basic Linux »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 03:48am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: console programs converted to BBC Basic Linux  (Read 406 times)
mmiscool
New Member
Image


member is offline

Avatar




PM


Posts: 19
xx Re: console programs converted to BBC Basic Linux
« Reply #8 on: Aug 10th, 2017, 3:22pm »

The run statement provides no feed back from the program that was ran.
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: console programs converted to BBC Basic Linux
« Reply #9 on: Aug 10th, 2017, 5:42pm »

on Aug 10th, 2017, 3:22pm, mmiscool wrote:
The run statement provides no feed back from the program that was ran.

Nor does the 'system' API you listed! The "feedback" comes from redirecting stdout to a file, and then reading that file. You can do that using the RUN command, for example:

Code:
    run "dir > %temp%\stdout.txt", wait 

In any case, in Linux (which is the OS we are discussing), the RUN command internally uses the 'system' API so it would work exactly the same as your code.

Richard.
« Last Edit: Aug 10th, 2017, 8:21pm by Richard Russell » User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls