the BBS Xchange
the BBS Xchange

  • Calling a procedure

    From ignatius@VERT/PHARCYDE to All on Thu Mar 5 04:58:27 2015
    So, I moved the code to seperate procedures. Now I want to be able to "call" the procedures through a case statement:

    --//-----snip------------------------------
    c := 1;

    case c of

    1 : usurper // would call the usurper procedure
    2 : pit // would call the pit procedure
    3 : lore // would call the lore procedure

    end;
    --//-----snip------------------------------

    Question is, how do I call a procedure?

    Thanks,
    -ig

    ---
    ■ Synchronet ■ thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin)