Shop OBEX P1 Docs P2 Docs Learn Events
PASM variables / initial value — Parallax Forums

PASM variables / initial value

agfaagfa Posts: 295
edited 2009-10-07 19:59 in Propeller 1
Do varaiables in PASM initialize to zero?· They don't for me.··I was just wondering if I am·doing something wrong?


·

Comments

  • BradCBradC Posts: 2,601
    edited 2009-10-07 13:33
    agfa said...
    Do varaiables in PASM initialize to zero? They don't for me. I was just wondering if I am doing something wrong?

    A little more detail would be nice.

    variables you declare using LONG will initialise. Variables declared using RES don't.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    lt's not particularly silly, is it?
  • agfaagfa Posts: 295
    edited 2009-10-07 19:59
    Thanks, You answered my question.· I'll try to be more specific next time.

    agfa
Sign In or Register to comment.