In file prompts.h:

int msg_int

(int num, int floor, int ceiling)

Parse an int in a prompt.

Documentation

Parse an int in a prompt.

Retrieves the requested prompt and parses an integer contained therein. This function is used to extract configuration options from prompts. The number is checked to ensure it's within a user-defined range of values. If not, a fatal error is issued.

Parameters:
num - The prompt index. You will want to use the symbolic name here.
floor - The minimum acceptable value.
ceiling - The maximum acceptable value.
Returns:
The parsed value.

Alphabetic index



This page was generated with the help of DOC++.