Shop OBEX P1 Docs P2 Docs Learn Events
SX/B EXAMPLE:Clock/Timer — Parallax Forums

SX/B EXAMPLE:Clock/Timer

BC2005BC2005 Posts: 2
edited 2004-12-30 17:37 in General Discussion
roll.gif·Hello,I have looked over your SX/B offering and it looks to be a good way to further my understanding of microproccessors and software .I copied the Clock/Timer example and tried compiling in both SASM and the parrallax versions, and get the same warning when it reaches this point.
temp2 = _REMAINDER······

·· ERROR:BYTE PARAMETER EXPECTED·"_REMAINDER"
·Any help would be much appreciated.BRY.

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-12-30 02:50
    You left out an underscore ... it should be __REMAINDER. You can open that file from the Projects folder, or copy and paste it from the Help file.· And SX/B uses SASM.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
  • allanlane5allanlane5 Posts: 3,815
    edited 2004-12-30 12:53
    In other words, "__REMAINDER" has TWO leading underscores, not just one.
  • BC2005BC2005 Posts: 2
    edited 2004-12-30 16:40
    roll.gif·Thanks,Jon,I am not familiar with this language,and thanks for the very quick reply.BRY.
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-12-30 17:37
    The language is very simple, and very similar to PBASIC 1.0 with a few extensions and enhancements. Spend an hour or so browsing the helpf file and examples and you will be good to go. SX/B is really a lot of fun.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
Sign In or Register to comment.