Before revision: 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 downloaded 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.Scott Edwards, "Exploring the BS1 EEPROM".
After revision: 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.Scott Edwards, "Exploring the BS1 EEPROM".