in the code are preceded by an apostrophe ('). The microcontroller ignores the rest of the line and continues to the next each time it encounters a comment. PBASIC codes can be simply a list of statements: HIGH 1 'turn on LED on pin 1 PAUSE 1000 'pause for one second LOW 1 'turn off LED on pin 1 END 'end program If the programmer selects 'Run' from the IDE's menu, the program is tokenized and uploaded to the Basic Stamp through an RS232 or USB cable and stored in the stamp's EEPROM as Huffman compressed non-byte-aligned variable-length tokens, and immediately executed. For example, a GOSUB statement uses 20 bits, including 11 bit-oriented addressing bits for the subroutine address. Because statements are non-byte-aligned, a subroutine can start on any bit in any byte in the EEPROM. Other Chips The PICAXE microcontroller uses a version of Basic similar to the version used to program the Basic Stamp I. References External links "Comparing PBASIC 2.5 control structures to the old PBASIC" – By Tracy Allen, EME Systems, 2003 Parallax, Inc. – Corporate website Embedded systems Parallax, Inc. products BASIC programming language