Thanks for the tip Geoff, as *always* very insightful.  I have used the 
'repeat for each' using variables instead of fields. Yes, my laptop did 
give off a puff of smoke at the end ;~|

My question was actually related to how to get Revolution to quickly 
indirectly point to objects, ie a pointer.  I want to store a list of 
field IDs in a custom property, then gather the data out of each pointed 
to field, as quickly as possible.  Your speed tips really helped working 
through the list, however I'm not sure if there is a really fast way to 
interpret and then point to an object, in one line.  The 'do' (as per my 
prev list mail) seemed slow in a big loop.  I'm not sure if there is a 
faster way than the one below:

on mouseUp
   put the cThisFldLookup of this cd into lThisFld -- custom property, 
points to a field
   put value(lThisFld) into lThisVar -- indirect ref?
   put lThisVar into fld "Display Text" -- now display the text, could 
merge above line with this
end mouseUp

Seems that Revolution will use lThisFld to point to the field if it 
exists, however if not we end up with the name of the non-existent 
field.  Adding error checking will slow this down further.

Any speed tips or am I at the limit?  Are 'value' and 'do...' the only 
ways to point to an object?

Many thanks,

M@tt Denton

On Thursday, October 25, 2001, at 08:00  AM, use-revolution-
[EMAIL PROTECTED] wrote:

> The repeat for each... structure is by far the fastest way to loop 
> through the contents of something.
>
> Depending on what you're doing, though, check out the filter command. 
> If you need the lines, not the line numbers, this will be even faster:
>
> filter lFieldVariable with ("*" & lThisChar & "*")
>
> Be sure to keep a safe distance between you and this command, and don't 
> touch the machinery for a few minutes afterwards, because it's 
> _fast_. :-)
>
>

M@

Matt Denton
[EMAIL PROTECTED]

Limelight Media Pty Ltd
Phone: 02) ��9211-6622
Fax: ������02) ��9211-5922


HEY, �THIS IS NOT MY E-MAIL!

If this e-mail is not for you, please let us know and destroy the 
original:

[EMAIL PROTECTED]

or call 02) 9211-6622 �or �INT �+612 9211-6622. ��Thanks for your kind 
help.

LEGAL

This e-mail is intended only for the use of the individual or entity 
�named above and may contain information that is confidential and 
�privileged. ��If you are not the intended recipient, you are hereby 
notified that any dissemination, distribution or copying of this Email 
is strictly prohibited. �

Before opening or using attachments, check them for viruses and defects.

Reply via email to