Shop OBEX P1 Docs P2 Docs Learn Events
SX math from BS2 code — Parallax Forums

SX math from BS2 code

jokerswildjokerswild Posts: 31
edited 2007-06-21 01:20 in General Discussion
Hey all,

I want to use this BS2 code in SX/B.

THC=result>>3*/640

(the line is taken from max667x by Tracy Allen)

I came up with this for SX/B

tmpW2 =·result >> 3
THC = tmpW2 */ 640

I've never done anything SX before so i would like to know if im on the right track.

Cheers!

Comments

  • JonnyMacJonnyMac Posts: 9,214
    edited 2007-06-21 01:11
    You're on the right track; in SX/B you can only have just one operator per line.

    Post Edited (JonnyMac) : 6/21/2007 9:18:59 PM GMT
  • jokerswildjokerswild Posts: 31
    edited 2007-06-21 01:20
    Spot on, thanks JonnyMac!
Sign In or Register to comment.