Results 1 to 2 of 2
  1. #1
    Thomas Richter
    Guest

    [logics] in Include-file

    Hi all,
    I want add some logics in the Include-File.
    I create a include-file, named same as in [script].
    Begin with [logics] and then the logics.
    But they don`t work !! Why ??
    I added also [elements] and then some elements.
    And I can see them. Thats OK.
    So I can see the pmscr737.txt file is working, but not with logics.
    Doe`s anyone know more?
    --
    Best Regards
    Thomas - EW321


  2. #2
    Enrico Schiratti
    Guest

    Re: [logics] in Include-file

    Hi Thomas...

    > I create a include-file, named same as in [script].


    ignore script for the time being please...

    > So I can see the pmscr737.txt file is working, but not with logics.


    the scr file is for scripts and is being worked on... the include filename
    you make for yourself can have any name... e.g.

    Try this:

    In the main file, at the beginning (or anywhere actually) add:

    include signs.txt

    Then have a file called signs.txt with the following content:

    [logics]
    if seatbelts changed
    if seatbelts then
    pm4f4 = 425
    else
    pm4f4 = 426
    endif
    endif

    if nosmoking changed
    if nosmoking then
    pm4f4 = 422
    else
    pm4f4 = 423
    endif
    endif


    "Thomas Richter" wrote in message
    news:280448.55736@wb.onvix.com...
    > Hi all,
    > I want add some logics in the Include-File.
    > I create a include-file, named same as in [script].
    > Begin with [logics] and then the logics.
    > But they don`t work !! Why ??
    > I added also [elements] and then some elements.
    > And I can see them. Thats OK.
    > So I can see the pmscr737.txt file is working, but not with logics.
    > Doe`s anyone know more?
    > --
    > Best Regards
    > Thomas - EW321
    >


Similar Threads

  1. Opencockpits - Price does not include VAT.
    By notgotaclue in forum General Builder Questions All Aircraft Types
    Replies: 10
    Last Post: 03-16-2011, 05:33 PM
  2. Engine Start logics
    By jimthomasjohnston in forum PMSystems
    Replies: 6
    Last Post: 08-05-2008, 02:43 PM
  3. Logics in pmsystems...
    By Bogysim in forum PM General Q & A
    Replies: 4
    Last Post: 01-04-2007, 04:17 PM
  4. pmsystem logics section: random values
    By Enrico Schiratti in forum PMSystems
    Replies: 0
    Last Post: 01-13-2006, 11:55 AM
  5. [LOGIC] Include
    By null null in forum PM General Q & A
    Replies: 1
    Last Post: 12-02-2004, 05:53 AM