[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Win32 Port of Safari
From:       Alan Gutierrez <ajglist () izzy ! net>
Date:       2003-01-12 4:08:14
[Download RAW message or body]

On Fri, 10 Jan 2003, Lars Knoll wrote:

> 
>> Yup. Hit this twice. Each time I took moved the variable declaration out of
>> the for initalization.
> 
> There's a better way:
> 
> #define for if(0){}else for
> 
> gives you correct scoping on VC++. 

Works like a champ! Thank you.

Alan Gutierrez

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic