Skip to content

Multiuser Predefined Indicator

Obsolete

This command is valid only in character-mode DataFlex. All DataFlex runtimes are multi-user.

Purpose

To indicate whether the runtime in use is single-user or multi-user.

Syntax

[
multiuser
]
command

What It Does

Whenever the runtime is first executed, this indicator is set to true if the runtime is multi-user and false if the runtime is single-user. A number of commands use this indicator in their definitions, including lock, reread, and unlock. You should not set the value of this indicator in your programs, but you may wish to use it to disable or modify certain functions according to whether the license in use is single-user or multi-user.

[not multiuser] showln "The Hash Module is not needed for single-user DataFlex."

In this example, the message "The Hash Module is not needed for single-user DataFlex." displays when the program is executed by a single-user runtime.

Notes

  • The predefined indicator multiuser is not affected by the file mode in which database files are opened.