TurnExport
Previous  Top  Next

Function TurnExport(filename: string): integer;

This function saves all present turn restrictions to a file on disk, which can later be loaded with function TurnImport.

If filename is empty the file's name is "turn.bin", If filename is "01", the file's name will be "turn01.bin" etc. This makes it possible to keep several sets of turn restrictions on disk for the same network.

The file will be saved in the same directory as specified by property Directory.

Possible error codes: -10 -18 -32 -40 -43
Versions: Standard Pro
ActiveX / VCL / CLX component: RWnetBase