Correct me if I'm wrong, but it appears that some GCBasic functions/features only work with 8-bit arguments. Is there any documentation of which functions/features support 16 bit and which ones are limited to 8-bit??
Joe
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
All control structures (Do, If, For, etc) and all calculation routines will support 16 bit. Raw byte-level transmit/receive routines will only accept a byte - things like SerSend. Routines for writing to the chip's EEPROM will only accept a byte, if they were to accept a word then two locations would be overwritten.
Most features should support words, if something should but doesn't then please don't hesitate to report it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Correct me if I'm wrong, but it appears that some GCBasic functions/features only work with 8-bit arguments. Is there any documentation of which functions/features support 16 bit and which ones are limited to 8-bit??
Joe
dim yourvariable as word. they all work.
All control structures (Do, If, For, etc) and all calculation routines will support 16 bit. Raw byte-level transmit/receive routines will only accept a byte - things like SerSend. Routines for writing to the chip's EEPROM will only accept a byte, if they were to accept a word then two locations would be overwritten.
Most features should support words, if something should but doesn't then please don't hesitate to report it.