Shop OBEX P1 Docs P2 Docs Learn Events
BRANCH command — Parallax Forums

BRANCH command

Armored CarsArmored Cars Posts: 172
edited 2004-10-22 20:25 in BASIC Stamp
What happens if in

BRANCH index, [noparse][[/noparse]blue,red,yellow]

index is set to %0100, will it crash the program or goto yellow since it is the last address?

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-10-22 20:25
    According to the manual and help file, it will fall through to the line following BRANCH.· That's what it's always done for me.

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