Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - <u>this function has been superseded by n_tbegin() and n_tcommit(). it </u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
This function has been superseded by N_TBEGIN() and N_TCOMMIT(). It 
remains in the library only for purposes of backward compatibility. 
Future versions of NetLib may not retain T_TRANS(), so please take 
the opportunity to begin using the new function now.


Syntax

T_TRANS( .T.|.F. )


Returns

Logical true if successful, false on failure.

Note  T_TRANS() returns true if TTS is not installed or if the 
program is running on a standalone system.


Description

T_TRANS(.T.) begins a TTS transaction and must be issued before any 
updates are made to transaction files. If false is returned, the 
transaction may proceed but updates will not be tracked.

T_TRANS(.F.) ends a transaction and must be issued after all updates 
are completed, and committed.

Note  COMMIT does work with versions of DOS earlier than 3.30; it 
just doesn't update the FAT, as it would under DOS 3.30. However, it 
does flush all file and index buffers, which is sufficient for 
T_TRANS().

Even if no updates are made, each T_TRANS(.T.) must have a matching 
T_TRANS(.F.). T_TRANS(.F.) is ignored if no T_TRANS(.T.) was issued.



See Also: N_TBEGIN() N_TCOMMIT()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson