Class system

*** Original code courtesy of J. Wilder - Megasys Hospitality Systems, Inc. ***


This class provides access to a number of system functions.

Build Information

Author J. Wilder - Megasys Hospitality Systems, Inc.
Date 2004-12-03 16:39:35
Outputfile system.pvc
Forcelinenumbers false

Properties

PROPERTY type$

OS type

Methods

FUNCTION copyfile(fromname$, toname$)

Issue a OS system call to copy a file.

ParameterDescription
fromname The name of the file to be copied.
toname$ The name of the new file to be created as a result of the copy.
FUNCTION makedir(path$)

Create a directory.

ParameterDescription
path$ The name of the directory to be created.
FUNCTION makedirs(path$)

Create a directory and all parent directories that do not already exist.

ParameterDescription
path$ The name of the directory to be created.
FUNCTION makeserial(name$)

Create a serial (text) file.

ParameterDescription
name$ The name of the serial file to be created.