Results 1 to 4 of 4

Thread: Global Label?

  1. #1
    Join Date
    Jul 2007
    Location
    Missouri
    Posts
    318
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Global Label?

    Is there a way to make a label without being inside of a procedure or function?

  2. #2
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    you can make a label global. but if you actually want to visualize it, it must be in a procedure/main loop using .create();

  3. #3
    Join Date
    Jul 2007
    Location
    Missouri
    Posts
    318
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well when I try using a label, and use GoTo to jump from one section to the next, I just get an Unknown identifier error...

    Underneath global variables
    Simba Code:
    label
      Reset;

    in a procedure
    Simba Code:
    GoTo Reset;

    in the main procedure of the script
    Simba Code:
    Reset:
    Last edited by Illkillutill; 02-05-2012 at 12:57 AM.

  4. #4
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    oh sry, im thinking TLabels

    rarely do i use actual Labels. sry i wouldnt know

    EDIT: why would u need a label in your main(). just put watever is in the label into a procedure, and whenever u need to access that, use the procedure

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •