You are here: Home DOCUMENTATION information SBASIC Manual - Page 12

Technological Arts Inc.

Your Shopping Cart

Your Cart is currently empty.

SBASIC Manual - Page 12

Article Index
SBASIC Manual
Page 2
Page 3
Page 4
Page 5
Page 6
Page 7
Page 8
Page 9
Page 10
Page 11
Page 12
Page 13
Page 14
Page 15
Page 16
Page 17
Page 18
Page 19
Page 20
Page 21
Page 22
Page 23
Page 24
Page 25
Page 26
Page 27
Page 28
Page 29
Page 30
Page 31
Page 32
Page 33
Page 34
Page 35
Page 36
Page 37
Page 38
Page 39
Page 40
Page 41
Page 42
Page 43
Page 44
Page 45
Page 46
Page 47
Page 48
Page 49
Page 50
Page 51
Page 52
Page 53
Page 54
Page 55
Page 56
Page 57
Page 58
Page 59
Page 60
Table of Contents
Index
All Pages

     SBasic User's Manual     SBasic Version 2.7             Page 12
     Printed:  December 5, 1999
      copy           copies a block of data between two memory areas
      =              assignment
      +              addition
      -              subtraction; unary negation
      ~              1's complement
      *              integer multiply
      /              integer divide
      mod            integer modulus
      and            boolean AND
      or             boolean OR
      xor            boolean XOR
      =              test, equal
      <              test, less-than
      >              test, greater-than
      , ><         test, not-equal
      <*             test, unsigned less-than
      >*             test, unsigned greater-than
      rshft()        shift argument 1 bit to right
      lshft()        shift argument 1 bit to left
      rroll()        rotate argument 1 bit to right
      lroll()        rotate argument 1 bit to left
      min()          returns smaller of two values (signed)
      max()          returns larger of two values (signed)
      minu()         returns smaller of two values (unsigned)
      maxu()         returns larger of two values (unsigned)
      peek()         read 16-bit contents of an address
      peekb()        read 8-bit contents of an address
      poke           write 16-bit value to an address
      pokeb          write 8-bit value to an address
      swapb          exchange bytes
      for            starts a FOR-NEXT iterative loop
      to             signed test in a FOR-NEXT loop
      to*            unsigned test in a FOR-NEXT loop
      step           optional part of a FOR-NEXT loop
      next           ends a FOR-NEXT loop
      if             starts an IF-ELSE-ENDIF structure
      else           part of an IF-ELSE-ENDIF structure
      elseif         part of an IF-ELSE-ENDIF structure
      endif          ends an IF-ELSE-ENDIF structure
      while          starts a WHILE-WEND structure
      wend           ends a WHILE-WEND structure
      do             starts a DO-LOOP structure
      while          optional part of a DO-LOOP structure
      until          optional part of a DO-LOOP structure
      loop           ends a DO-LOOP structure
      waitwhile      waits while an I/O condition exists
      waituntil      waits until an I/O condition occurs
      select         starts a SELECT-CASE structure
      case           starts a CASE clause within a SELECT-CASE structure
      endcase        ends a CASE clause
      endselect      ends a SELECT-CASE structure
      exit           leaves loop structure early
      print          output text to the console