+ Reply to Thread
Results 1 to 5 of 5

Thread: Where I have a mistake? [Exp2]

  1. #1
    Inactive Klask is on a distinguished road Klask's Avatar
    Join Date
    Jun 2008
    Posts
    10

    Default Where I have a mistake? [Exp2]

    Hello. I create expression 2 that on pressing a key (10 idle time, 0 by pressing) and me it is necessary that on an exit the information from a small internal Database (24 parametres) moved Can look. Where I have committed a mistake, there can be it a problem most expression 2?
    Code:
    @name 123
    @inputs D F
    @outputs On Pt
    @persist DPt FPt
    
    DPt = 10
    FPt = 20
    
    if (!D) {On = 1, Pt = DPt}
    if (!F) {On = 1, Pt = FPt)
    
    In advance I is very grateful.
    I apologise for the bad English (((Nevertheless to you me to understand easier, than me you....
    Whether there are from you Martians as well as I?
    [COLOR="White"]I'm from russia (((([/COLOR]

  2. #2
    Lurker pl0x is an unknown quantity at this point pl0x's Avatar
    Join Date
    Aug 2008
    Posts
    247

    Default Re: Where I have a mistake? [Exp2]

    don't use google translator, i have no idea what you want.

    You're code doesn't make sense either, what if they are both on? then it doesn't know what to do, what if they are both off, you need to make "safeties" and use elseif(){} and else{}

  3. #3
    Wire Sofaking Donkie is on a distinguished road Donkie's Avatar
    Join Date
    May 2008
    Location
    Sweden
    Posts
    1,181

    Default Re: Where I have a mistake? [Exp2]

    Wow, google translator screws texts up really bad

  4. #4
    Inactive Klask is on a distinguished road Klask's Avatar
    Join Date
    Jun 2008
    Posts
    10

    Default Re: Where I have a mistake? [Exp2]

    Pt = FPt)
    Here Is
    Thanks!
    I apologise for the bad English (((Nevertheless to you me to understand easier, than me you....
    Whether there are from you Martians as well as I?
    [COLOR="White"]I'm from russia (((([/COLOR]

  5. #5
    Newbie Programmer ZeikJT will become famous soon enough ZeikJT's Avatar
    Join Date
    Dec 2008
    Location
    California
    Posts
    1,394

    Default Re: Where I have a mistake? [Exp2]

    Quote Originally Posted by Klask View Post
    Pt = FPt)
    Here Is
    Thanks!
    Yeah, even though the {On = 1, Pt = FPt) should be {On = 1, Pt = FPt} it seems like you already saw that.

    Also, you will want to use some other method, because right now the second IF has priority.
    Against stupidity the Gods themselves contend in vain.
    -Friedrich Schiller

    The flame puts me in the mood to "Do it!".
    -Dart, Legend of Dragoon

+ Reply to Thread

Similar Threads

  1. Calculations and Exp2 question
    By jayg20769 in forum Technical Support
    Replies: 9
    Last Post: 02-22-2009, 02:13 PM
  2. need some help with EXP2
    By KustoM in forum Technical Support
    Replies: 3
    Last Post: 12-10-2008, 06:19 PM
  3. Wirelinks in exp2
    By Hitman271 in forum Technical Support
    Replies: 5
    Last Post: 11-23-2008, 10:11 AM
  4. Questions about Exp2 (Functionality)
    By Pyro-Fire in forum Technical Support
    Replies: 1
    Last Post: 11-09-2008, 01:18 PM
  5. Speeling Mistake
    By kymagic in forum Bug Reports
    Replies: 11
    Last Post: 07-26-2008, 07:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots