Dirk Lattermann writes:

>  On Fri, Apr 21, 2000 at 03:26:38PM +0200, Niklas H�glund wrote:
>
>  >     static bool first=true;
>  
>  Note that your bool object 'first' is destroyed and recreated in
>  every iteration of the for loop.  Thus, it will always have a
>  value of true in the ggiSetOrigin line.

It is "static" which makes it like a global variable but with only
local scope.

Cheers,
__
\/   Andrew Apted  <[EMAIL PROTECTED]>
 

Reply via email to