intro.bbdoc 782 B

1234567891011121314
  1. The BASIC compatibility module provides miscellaneous functions that emulate the behaviour
  2. of 'classic' BASIC.
  3. The functions in this module have largely been superceded by BlitzMax features such as
  4. 'string slicing', and the Find, Replace, Trim, ToLower and ToUpper string methods.
  5. However, for programmers from a classic BASIC background, these utility functions should make
  6. the transition to BlitzMax a little easier.
  7. NOTE: Strings in classic BASIC are '1 based'. This means that the first character within a
  8. string is at index 1, the second at index 2 and so on. However, BlitzMax strings are '0 based',
  9. meaning the first character is at index 0, the second at index 1 and so on. The #instr and
  10. #Mid functions in this module retain the '1 based' behaviour of classic BASIC.