Postby md_lasalle on Tue Jan 14, 2003 8:13 pm

Does iif(x,x,x) works in pocketC, if yes, what's exactly the syntax?
Posts: 74
Joined: Fri Dec 20, 2002 12:26 am
Location: Canada

Postby soinsg on Wed Jan 15, 2003 5:49 am

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
Posts: 198
Joined: Thu May 17, 2001 4:26 pm

Postby shayneham on Wed Jan 15, 2003 2:58 pm

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
Shayne Hamel
Quote Software
Posts: 52
Joined: Thu Sep 19, 2002 7:48 pm
Location: USA

Return to PocketC for Palm OS KB

Who is online

Users browsing this forum: No registered users and 1 guest