Is there a way to redirect Qout type output to an array rather than a file or printer?

68 views
Skip to first unread message

HBQuerier

unread,
May 31, 2024, 3:21:08 PMMay 31
to Harbour Users
Hi,

Is there a way to redirect functions like __Dir() to an array?

I'd like to send each line directly to an array of lines, as opposed to retreiving the lines from a file, using something like

SET CONSOLE OFF
SET PRINTER ON
SET PRINTER TO (Target_FileName_s)

Is there something undocumented, that lets us send this kind of output to an object other than a file or printer?


Reply all
Reply to author
Forward
0 new messages