Many thanks, keep up the great work!

On Tue, Mar 9, 2010 at 12:13 AM, Viktor Szakáts <[email protected]>wrote:

> Hi Smu,
>
> > I've googled for something relevant in the dev archives, but haven't
> found anything that really is related to my question.
> >
> > Can harbour print to the STDOUT?  My cute program below does not:
> >
> > FUNC MAIN()
> >
> >   PARAM cOne, cTwo
> >
> >   ? cOne
> >   ? cTwo
> >
> > RETURN
> >
> > Trying to capture the output by piping it in cmd.exe in Windows just
> won't do it, as it probably has it's own console writing calls that are
> beyond my brain capacity.
>
> Either add '#include "simpleio.ch"' to the top
> of the source file, or use 'OutStd( cOne, hb_osNewLine() )'.
>
> [ This also works in Clipper. ]
>
> Brgds,
> Viktor
>
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
smu johnson <[email protected]>
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to