Page 1 of 1

PostPosted: Tue Jan 14, 2003 8:13 pm
by md_lasalle
Does iif(x,x,x) works in pocketC, if yes, what's exactly the syntax?

PostPosted: Wed Jan 15, 2003 5:49 am
by soinsg
Do you mean if (x == 1 && y == 2) or something similar? || is or and && is and.
According to Joe's speed-opt's you can get faster times if you nest the "if and" statements:
Code: Select all
if (x == 1)
  if (y == 2)
    //code here

PostPosted: Wed Jan 15, 2003 2:58 pm
by shayneham
md_lasalle, not to nag, but could you move your questions to where they belong, in the ..
2. Development Discussion
PocketC on Palm OS

part of the forum.

Shayne Hamel
Quote Software