Results 1 to 3 of 3
  1. #1
    New Member
    Join Date
    Nov 2009
    Location
    Earth
    Posts
    2
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Need help for "if...else" condition

    Hi, Want to know in PM system logics, does if condition always end with a endif.?
    Thanks for the help.

    Regards,
    Hotmilo

  2. #2
    300+ Forum Addict
    Join Date
    Jan 2007
    Posts
    496
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Need help for "if...else" condition

    Quote Originally Posted by Hotmilo View Post
    Hi, Want to know in PM system logics, does if condition always end with a endif.?
    I had a look at some of the LGC files supplied in the pmSystems package, and for that program it appears that there's only an endif needed if the actions to be executed are on separate lines. If the complete "if ... then ..." is on one line there's no endif.

    This is evident and consistent throughout all the supplied examples.

    Pete

  3. #3
    New Member
    Join Date
    Nov 2009
    Location
    Earth
    Posts
    2
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Need help for "if...else" condition

    Ohh..thanks alot Pete for all your help.... Currently still new with PM & FSX system. ^^. Thanks again..

Similar Threads

  1. Expansion card buggy? Shows "ghost" inputs where there aren't...
    By Michael737NG in forum OpenCockpits General Discussion
    Replies: 0
    Last Post: 12-26-2010, 07:02 AM
  2. Real Flight Simulators versus PC "Games" - the eternal debate...
    By ryanf in forum Pilots Lounge - Let your Hair down
    Replies: 3
    Last Post: 01-01-2010, 06:32 PM
  3. Replies: 17
    Last Post: 03-05-2008, 12:39 PM
  4. Gwyn Perrett's Article "Creating a glass cockpit display"
    By Matt Olieman in forum General Builder Questions All Aircraft Types
    Replies: 0
    Last Post: 08-31-2007, 07:20 PM