by Jamie <jamie_5_not_valid_after_5_Please@[EMAIL PROTECTED]
>
Dec 6, 2005 at 08:06 PM
Nige wrote:
> Looking at some sample code.
>
> I have a line, which calls a function
>
> and the 3rd parameter is @[EMAIL PROTECTED]
>
> whats do the @[EMAIL PROTECTED]
and the ^ and the [0] indicate.
>
> thanks
>
>
The @[EMAIL PROTECTED]
generates an address of an item.
so lets break this down.
Cells is being treated like a pointer and
thus the use of ^ meaning that you are
fetching data via the pointer which is like
a road map giving directions of where the
start of the data which makes up the object
"CELLS" resides in.
Since it's obvious that Cells must not
be a pointer already to start with, using the
@[EMAIL PROTECTED]
infront will generate a pointer address of that
object.
and the use of the [0] is like any other
array from that point on.
it will simply use the Pointer address as the
starting base with the an offset of what
ever in the [?] to calculate the distant to
move from the start of the pointer.
--
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5