Search:

Type: Posts; User: JRoberto

Search: Search took 0.12 seconds.

  1. Replies
    8
    Views
    1,163

    Re: Ternary operator

    Thank you!
  2. Replies
    8
    Views
    1,163

    Re: Ternary operator

    Ah...ok.
    Thank you.
  3. Replies
    8
    Views
    1,163

    Re: Ternary operator

    Sorry i can not compile because i'm translating the source to another language (Purebasic).
    This is the complete function:



    function cstep(ch) {
    if( ++ayr[ch+16] >= (ayr[ch<<1] |...
  4. Replies
    8
    Views
    1,163

    Re: Ternary operator

    Normally i do this.
    But in this case, the blacket opened after amp is closed after : , at the end of expression
    That confused me...
  5. Replies
    8
    Views
    1,163

    Ternary operator

    Hi

    Please can someone help me to translate this ternary operation:



    return ( ( ayr[7] >> ch | tons >> ch )
    & ( ayr[7] >> ch+3 | noiv )
    & 1 ) * amp[...
Results 1 to 5 of 5