FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Write log file
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Write log file
Posted: Fri Feb 06, 2009 08:50 AM

I remember having seen a FW build in function to write a protocol file but can’t remember the syntax.
Could someone help me.

Thanks in advance
Otto

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Write log file
Posted: Fri Feb 06, 2009 09:01 AM

Otto,

LogFile( cFileName, aValues )

aValues is an array with any amount of elements of any type

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: Write log file
Posted: Fri Feb 06, 2009 01:18 PM

Hello Antonio,
thank you.
Is there a speed difference between memowrite and logfile.
Thanks in advance
Otto

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Write log file
Posted: Fri Feb 06, 2009 01:43 PM

Otto,

Those functions do different tasks:

MemoWrit() writes an entire file at once.

LogFile() write one line each time is called.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion