Hi Sean,

 Welcome to programming for this fun platform :)

 You don't need the semicolons on your #defines, that's all.

 All the best!

 Howard.
--
Howard Tomlinson - [EMAIL PROTECTED]
Games Designer, Astraware Ltd. - http://www.astraware.com/
Games for Palm: http://www.astraware.com/palm/ 


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Sean
> McMains
> Sent: 24 November 2001 23:51
> To: Palm Developer Forum
> Subject: Constants in C
> 
> The question de jour:
> 
> Why would this not compile (illegal initialization, expression syntax 
> error):
> 
> Reminder r1 = {true, kDBDays, 1, 0, 0, kDBCalendar, false, "1 Day 
> Video", "Video Rental Due"};
> 
> But this does:
> 
> Reminder r1 = {true, 3, 1, 0, 0, 1, false, "1 Day Video", "Video Rental 
> Due"};
> 

> #define       kDBMinutes              1;
> Thanks in advance for any help!
> Sean McMains
> 
> 
> ------
> Sean McMains ([EMAIL PROTECTED])
> AIM: SeanMcTex
> http://www.mcmains.net/ruminations/
> 
> 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to