Filenum_get()

Description:

API procedure, returns a free file number or 255 if no free file numbers left.

Syntax:

function filenum_get(byref signature as string) as byte

Returns:

The number of the unused file number or 255 if all file numbers are in use.

See Also:

Step-by-step Usage Instructions, Operation Details


Parameter

Description

signature

A string with a short description of the file number's purpose. You may leave the signature empty, too.

Details

Set FILENUM_MAX_SIGNATURE_LEN to anything above 0 in order to be able to use signatures.