Skip navigation.
 
mlRe: looks like Intel vs. PowerPC difference
FROM : Sherm Pendley
DATE : Thu Aug 03 21:05:10 2006

On Aug 3, 2006, at 2:22 PM, Andrei Tchijov wrote:

> Very true.  It just that I got bitten by it (I did not assigned 
> initial values to in/out stream).


That was the more generalized problem then.

An object's instance variables are guaranteed to be initialized to 
zero (or nil, for pointers) by the Objective-C runtime. But no such 
guarantee is made concerning local variables; Objective-C behaves 
just like C in that respect.

You should always initialize local variables yourself, to avoid 
precisely these kinds of problems.

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net

Related mailsAuthorDate
mllooks like Intel vs. PowerPC difference Andrei Tchijov Aug 3, 19:37
mlRe: looks like Intel vs. PowerPC difference Sherm Pendley Aug 3, 20:04
mlRe: looks like Intel vs. PowerPC difference Shawn Erickson Aug 3, 20:11
mlRe: looks like Intel vs. PowerPC difference Andrei Tchijov Aug 3, 20:22
mlRe: looks like Intel vs. PowerPC difference Matt Neuburg Aug 3, 20:53
mlRe: looks like Intel vs. PowerPC difference Bill Bumgarner Aug 3, 20:55
mlRe: looks like Intel vs. PowerPC difference Sherm Pendley Aug 3, 21:05
mlRe: looks like Intel vs. PowerPC difference Bill Bumgarner Aug 3, 22:49
mlRe: looks like Intel vs. PowerPC difference John Stiles Aug 3, 22:55
mlRe: looks like Intel vs. PowerPC difference Kay Roepke Aug 3, 23:41
mlRe: looks like Intel vs. PowerPC difference Jakob Olesen Aug 3, 23:52
mlRe: looks like Intel vs. PowerPC difference Bill Bumgarner Aug 4, 00:05
mlRe: looks like Intel vs. PowerPC difference Kay Roepke Aug 4, 00:09
mlRe: looks like Intel vs. PowerPC difference Matt Neuburg Aug 4, 00:44
mlRe: looks like Intel vs. PowerPC difference Bill Bumgarner Aug 4, 00:53
mlRe: looks like Intel vs. PowerPC difference Matt Neuburg Aug 4, 04:05
mlRe: looks like Intel vs. PowerPC difference Nat! Aug 5, 18:03