On Sep 26, 2006, at 9:22 AM, Theodore H. Smith wrote:

Is it sensible to do this:

for i = 0 to n
c = p.LongValue(i*4)
next

or this:


for i = 0 to n
c = *p++
next


or if you're using the Ptr datatype in 2006r3 or later:
for p as Ptr = startPosition to endPosition step Ptr(4)
  c = p.Int32
next

or your approach:
for i = 0 to n
  c = p.Int32
  p = p + ptr(1)
next

-Jon


--
Jonathan Johnson
[EMAIL PROTECTED]
REAL Software, Inc.


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to