Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Delphi Components Misc > Re: Help a newb...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 5 Topic 216 of 251
Post > Topic >>

Re: Help a newbie

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
 




 5 Posts in Topic:
Help a newbie
"Nige" <nkar  2005-12-06 23:38:16 
Re: Help a newbie
Nicholas Sherlock <n_s  2005-12-07 12:55:44 
Re: Help a newbie
Jamie <jamie_5_not_val  2005-12-06 20:06:02 
Re: Help a newbie
"Bruce Roberts"  2005-12-07 10:13:59 
Re: Help a newbie
DrChaos <DrChaos@[EMAI  2005-12-15 17:09:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 23 15:45:40 CDT 2008.