Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.

between

ifThen -value1 %s -value2 ${low} -test LESS -then -else {ifThen -value1 %s -value2 ${high} -test GREATER -then -else %s}
NAME

    between - Determine whether a number lies within a given range.


SYNOPSIS

    between [NUMBER] -low [LOW_END] -high [HIGH_END]


DESCRIPTION

    between uses Allen Ormond's ifThen command to verify that a number is not 
    less than the low end nor greater than the high end for a given range.  It 
    only returns numbers within the that range.


EXAMPLES

    between 3 -low 1 -high 10
    Returns 3.

    between 30 -low 1 -high 10
    Returns nothing.


AUTHOR

    Paul M. Boren
    pmboren AT gmail DOT com
    
451 uses - Created 2010-03-13 07:50:52 - Last used 2024-10-10 16:21:26
Is this command broken? Tell Jon if you know how to fix it.
Do you find this command offensive? Let Jon know.