[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.5.6.2 Arg Type Number

arg-type = number;

The argument must be a correctly formed integer, without any trailing U’s or L’s. AutoOpts contains a library procedure to convert the string to a number. If you specify range checking with arg-range (see below), then AutoOpts produces a special purpose procedure for this option.

scaled

scaled marks the option so that suffixes of ‘k’, ‘K’, ‘m’, ‘M’, ‘g’, ‘G’, ‘t’, and ‘T’ will multiply the given number by a power of 1000 or 1024. Lower case letters scale by a power of 1000 and upper case scale by a power of 1024.

arg-range

arg-range is used to create a callback procedure for validating the range of the option argument. It must match one of the range entries. Each arg-range should consist of either an integer by itself or an integer range. The integer range is specified by one or two integers separated by the two character sequence, ->. Be sure to quote the entire range string. The definitions parser will not accept the range syntax as a single string token.

The generated procedure imposes the range constraints as follows:


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Bruce Korb on August 21, 2015 using texi2html 1.82.