Announcement

Collapse
No announcement yet.

CONST but not "pre-processor "

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CONST but not "pre-processor "

    Hello,I have two Arrays and I don't need to change them at runtime(not like var's).
    How do I make the arrays constant in The rom?
    The command #CONST is a preprocessor and I can't use it for this...

    thanks,yuval.

  • #2


    #DATA
    word values
    0x0123, 0x4567, 0x89AB, 0xCDEF
    #END

    You can then treat values as a 4 element array
    Mark

    Comment


    • #3


      Thank you!

      Comment

      Working...
      X