Subj : Question
To : Angus Mcleod
From : Frozen Fire
Date : Wed Aug 07 2002 04:48 am
Re: Question
By: Angus Mcleod to Frozen Fire on Mon Aug 05 2002 21:28:00
> Re: Question
> By: Frozen Fire to Digital Man on Mon Aug 05 2002 15:30:00
>
> > Thats what I did. Since a defined int defaults to zero, and zero denoted
> > first line on the light bar.. well :)
> >
> > In any event, its working now. Thanks again :)
>
> It may _work_ but it is still what they call _erroneous_.
>
> You should not rely on the un-initialized value of a variable unless the
> language specification specifically states what that value will be.
>
> Or unless you are writing drivers for Microsoft...
>
>
How did you know? hehehe. In most of the source files that came with SBBS, I
did not see any variables initialized, so I assumed the default for anything
declared was off, or zero, save for things such as "str", which are used
internally.
Thanks for the feedback :)
� � � � z � � � � � � �
---
� Synchronet � The Impact Matrix (impactmatrix.darktech.org)