Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

range Struct Reference

#include <util.h>


Detailed Description

A numeric range.

A numeric range given as [min, max]. This may be used to generate a random number on the closed interval with rrandom(). Note that only nonnegative numbers from 0 to 255 are allowed. For a numeric range with large and/or negative numbers allowed, use lrange.

Definition at line 65 of file util.h.

Data Fields

uchar max
uchar min


Field Documentation

uchar range::max
 

Definition at line 67 of file util.h.

Referenced by construct_range(), and rrandom().

uchar range::min
 

Definition at line 68 of file util.h.

Referenced by construct_range(), deref_jump_table(), and rrandom().


The documentation for this struct was generated from the following file:
Generated on Thu May 20 13:12:14 2004 for CalcRogue by doxygen 1.3.6