RPGNext
Take Your RPG Development to theNextLevel
Site Links
Home
RPG Programming
xRPG Downloads
xRPG Docs
About This Site
About Me

RPG Gurus
Bob Cozzi
Brad Stone
Scott Klement
Jon Paris

iSeries Links
Alpha Works
Midrange.com
FAQ@Midrange.com
MidrangeServer.com
IBM Docs
iSeries Infocenter
MCPress
Easy400
API Finder

xRPG Core Library Procedures - RNBMISC: inNumRange()


Determine whether or not a number is in a certain range.

Usage:

inNumRange( checkNum : fromNum : toNum : {compareABS} );

Name Type Options Opt/Req Description
checkNum 30,9 Const Req The number to compare.
fromNum 30,9 Const Req The low number comparator.
toNum 30,9 Const Req The high number comparator.
compareABS N Const Opt Indicates whether or not the absolute values of the range are to be used for the comparison. If compareABS is not sent then ABS is NOT used.
Returns: N n/a n/a *ON if checkNumber is within the range and *OFF if it is not.

This site conforms with the following W3C specifications:

Web Essentials

Contact