need help


Closed Thread
Results 1 to 5 of 5

Thread: need help

Hybrid View

  1. #1
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    For clarification as to why your original format did not compile.

    snip ... "If the condition is true,the program will GOTO the label after the THEN"

    The LABEL needs to be on the same line as the THEN in order for it to be assumed a GOTO. If used in this manner it cannot have an ELSE associated with it.

    EXAMPLES:


    IF PORTA.0 = 1 THEN TESTING

    and

    If PORTA.0 = 1 THEN
    GOTO TESTING
    ENDIF

    do the same thing (but the second form takes more program words)

    Paul
    Last edited by paul borgmeier; - 26th March 2006 at 20:37.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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