ubase.newFile

Syntax ubase.newFile (path)

Params path gives the name and path where a new file is to be created.

Action Creates a new uBASE database with the indicated file path name. The new file is open and ready for other actions.

Returns The identifier (termed fnum in this documentation) which can be used to refer to the new database as long as it remains open.

Examples
Errors An error is produced if uBASE is not running, if the file is already open, if it is impossible to create a window (perhaps because uBASE needs more memory), or if opening a window will result in too many windows being open (the limit is 99).

Platform Notes uBASE runs only on Mac OS and is not a supported component of Frontier 5.0,

Notes If you are going to call ubase.caseSensitive on a file, the only correct time to do so is immediately after ubase.newFile.

See Also ubase.openFile

ubase.closeFile

ubase.caseSensitive

Discuss