Back to manual index

:: var

:: example:

var catsname : string;
var howmany : integer;

:: Variable types:

  • char Used to store a single character 'a'
  • hex Used to store hex values $FF
  • integer Used to store whole number/integers. 197
  • real Used to store numbers than may need use of a floating point. 145.78
  • string Used to store a string of characters. 'This is a string'
  • text Used to store a file pointer to a text file