12-27-2022, 11:58 PM
Most of these are so trivial to write, that it's just not worth the effort to import a DECLARE LIBRARY to do them. For example:
(And I got tired of scrolling up and down to look and see what else was in the list of things you had, but they all seem to be about that simple to implement. )
Code: (Select All)
FUNCTION IsDigit (a AS INTEGER)
IF a >= 48 AND a <=57 THEN IsDigit = -1
END FUNCTION
Code: (Select All)
FUNCTION IsLower(a AS INTEGER)
IF a AND 32 Then IsLower = -1
END FUNCTION
Code: (Select All)
FUNCTION ToLower(a AS INTEGER)
ToLower = a OR 32
END FUNCTION
Code: (Select All)
FUNCTION ToUpper(a AS INTEGER)
ToUpper = a AND NOT 32
END FUNCTION
(And I got tired of scrolling up and down to look and see what else was in the list of things you had, but they all seem to be about that simple to implement. )