Hot Code

On this page I shall collect some useful source code examples and include files for HotBasic.

IsTypeFunctions 25-Jun-06
Is Type functions is a set of 14 HotBasic include files for use in your own HotBasic programs. They check if the ASCII code falls within a certain range.

The functions are:
IsAlNum, IsAlpha, IsCntrl, IsDigit, IsExtended, IsGraph, IsLower, IsPrint, IsPunct, IsSpace, IsUpper, IsXDigit.
Also ToLower and ToUpper, which converts ASCII code to lower-case and upper-case respectively.

A description of each function is included in the download, plus an example source code of how the functions may be used.

The functions can be simply used like this: PRINT IsAlpha(65) which will return true if character code 65 is a alphabetic character code.


RTFeditordemo 31-Jan-08
A simple working RTF editor demo with HotBasic source, which can be used as a basis for your own editor. Demonstrates how to format text and RTF printing in colour.