ubase.caseSensitive

Syntax ubase.caseSensitive (fnum, flag)

Params fnum is the identifying number for a database which contains no records.

flag is a boolean. You normally only use this verb with a flag equal to true. See Notes.

Action The boolean value of flag determines whether keys in the database identiÞed by fnum are sensitive to case.

Returns True.

Examples The only reasonable way to use this verb is:
fnum = ubase.newFile (path)

ubase.caseSensitive (fnum, true)

Errors An error is produced if there are any records in the database, if uBASE is not running or if fnum does not identify an open database.

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

Notes In a new database, keys are compared without regard to case of letters (upper case letters are treated as lower case). If you want keys to be compared exactly as presented to uBASE, use ubase.caseSensitive (fnum, true) right after creating the database.

See Also ubase.lookupRecord

ubase.addRecord

Discuss