Menu

Which GCBasic functions support 16bit?

Help
joe rocci
2009-07-29
2013-05-30
  • joe rocci

    joe rocci - 2009-07-29

    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

     
    • Nobody/Anonymous

      dim yourvariable as word.  they all work.

       
    • Hugh Considine

      Hugh Considine - 2009-07-31

      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.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.