The Dink Network

Reply to Re: dinkc question

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
August 9th 2002, 09:46 AM
wizardg.gif
Paul
Peasant He/Him United States
 
: Yea, I was pretty sure...just trying to see if I could delay the inevitable. It's just that Dinkc is a little weird about nested ifs...it tends to execute things inside false statements if the inner if comes out true...::grumble::

I haven't had too much trouble with that. Make sure you use lot's of {}s though. Fot example this is valid in C, but not DinkC:

if (a == 1)

if (b == 1)

//do something

In DinkC you have to write:

if (&a == 1)

{

if (&b == 1)

//do something

}