Hi all,
I don't know if a RRESERVED word excess that would do what I will
call RANGE. Where RANGE would set the limits, above and below a
given value that would be acceptable. A sample statement might be:
IF a = b RANGE(.001) THEN... This would be equivalent to:
IF a < (b + .001) AND a > (b - .001) THEN... Also when comparing
two strings the use of RANGE$(no.); where RANGE$(no.) would comp-
are two strings of the same length and consider them acceptable
if not more than (no.) of characters are different between the two
strings. A sample statement might be: IF a$ = B$ RANGE$(1) THEN...
For example my last name is KATZEL, but often people spell it
CATZEL. If the above statement were used it would be acceptable.
I notice in a number of spell checkers this being done along with a
number of suggested correctly spelled words.
Do such RESERVED words excess in PowerBASIC or is it possible
to have them in future versions of PowerBASIC?
Fred K
------------------
I don't know if a RRESERVED word excess that would do what I will
call RANGE. Where RANGE would set the limits, above and below a
given value that would be acceptable. A sample statement might be:
IF a = b RANGE(.001) THEN... This would be equivalent to:
IF a < (b + .001) AND a > (b - .001) THEN... Also when comparing
two strings the use of RANGE$(no.); where RANGE$(no.) would comp-
are two strings of the same length and consider them acceptable
if not more than (no.) of characters are different between the two
strings. A sample statement might be: IF a$ = B$ RANGE$(1) THEN...
For example my last name is KATZEL, but often people spell it
CATZEL. If the above statement were used it would be acceptable.
I notice in a number of spell checkers this being done along with a
number of suggested correctly spelled words.
Do such RESERVED words excess in PowerBASIC or is it possible
to have them in future versions of PowerBASIC?
Fred K
------------------
Comment