Re: Or probably just this... David Goodlad (1 reply, 0 views) (2001-Jul-6)
I don't think so Mattman... :P The first VarPtr call (the one nested within the other one) would create a temporary variable in memory in which the address of the byte would be stored. The second VarPtr call would return the address of this temp variable. The temp variable would disappear, and the second address would no longer be valid, or point to some other random data. If I'm wrong I'm sorry, but that's how I see it working. David

Up One Level | Back to Forum

That's what I thought *nt* Rag on a Stick (0 replies) (2001-Jul-6)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 36 visitors within the last 20 minutes
RSS News Feed