printing to stdout
Moderator: Rathinagiri
printing to stdout
How can I print a string to stdout?
Richard
Richard
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: printing to stdout
Hello Richard
First, welcome aboard; regards from Turkey
And then, AFAIK in the GUI environment we haven't a "stdout"
For anything to "out" (print), you have defined a "place"; usually a form (window).
If you are about console mode, everything is as usual: print commands are ? or ?? and print functions are QOUT() and QQOUT().
I hope this will be helpful for you.
Regards / Cordialement
--
Esgici
First, welcome aboard; regards from Turkey
And then, AFAIK in the GUI environment we haven't a "stdout"
For anything to "out" (print), you have defined a "place"; usually a form (window).
If you are about console mode, everything is as usual: print commands are ? or ?? and print functions are QOUT() and QQOUT().
I hope this will be helpful for you.
Regards / Cordialement
--
Esgici
Viva INTERNATIONAL HMG 
Re: printing to stdout
Thanks,
and how can I send a string to the clipboard??
Richard
and how can I send a string to the clipboard??
Richard
Re: printing to stdout
If you are about console mode, everything is as usual: print commands are ? or ?? and print functions are QOUT() and QQOUT().
The only thing that seems to do the trick is : outstd().
It displays "press any key to continue" - can that be avoided??
Richard
The only thing that seems to do the trick is : outstd().
It displays "press any key to continue" - can that be avoided??
Richard
- Rathinagiri
- Posts: 5482
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: printing to stdout
system.clipboard := cStringt57042 wrote:Thanks,
and how can I send a string to the clipboard??
Richard
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: printing to stdout
Did you tried ? or QOUT() instead of outstd() ?t57042 wrote: The only thing that seems to do the trick is : outstd().
It displays "press any key to continue" - can that be avoided??
Richard
Regards
--
Esgici
Viva INTERNATIONAL HMG 
Re: printing to stdout
Yes, I did.
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: printing to stdout
May be "press any key to continue" message come from system (OS, CMD of win); not your program.
Regards
--
Esgici
Regards
--
Esgici
Viva INTERNATIONAL HMG 
Re: printing to stdout
Probably, but isn't it possible to write to the console without that?
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: printing to stdout
I guess no !
In general, my console prgs run in "terminate and close cmd window" fashion and I have add WAIT command in prg or PAUSE command in the .bat file that call my prg.
Could you send a simple example ?
Regards
--
Esgici
In general, my console prgs run in "terminate and close cmd window" fashion and I have add WAIT command in prg or PAUSE command in the .bat file that call my prg.
Could you send a simple example ?
Regards
--
Esgici
Viva INTERNATIONAL HMG 