mark cards by finding -- a problem

Timothy Miller gandalf at doctorTimothyMiller.com
Thu Jul 7 17:03:04 EDT 2005


>On 7/7/05 3:16 PM, Eric Chatonet wrote:
>
>>Hi Timothy,
>>
>>Obviously you are coming from HyperCard...
>>With Rev there are no "bg" fields (neither card fields) but only fields.
>>Check the topics section in the docs named "Groups and Backgrounds"
>>It might help you to understand how Rev handles "bgs"... which do 
>>not  exist with Rev ;-)
>
>Sometimes that is true, but Tim's stacks are HyperCard ports and 
>they have the HCAddressing set to true. That means it acts like HC 
>and there are background fields and card fields, as well as bg 
>buttons and card buttons. All HC imports act this way unless you 
>change it.


Hi Jacque,

Wow! Now I know about turning on hyperCard addressing! Ya learn 
something new every day. You're right of course. hyperCard addressing 
is turned on.

>
>One reason the "find" command may not be working is if the script is 
>refering to a bg group that isn't placed on the current card.


I thought of that. I tried adding an extra line --

go to card 1 of bg "<whatever>"

-- so I could be sure that the script would find field "patient 
information" on the first try. That didn't help either.


>
>Tim: the best thing to do is check "the result" after using the find 
>command and see what it says.


Good thought. I did think of that, too. I'm getting better at this <g>.

The result was empty in every case.

It's starting to sound more like a bug. Or maybe my copy of Rev is 
corrupted. I don't know how often that happens.

Best regards,



Tim

>The cause of the error should be in there. I've used "mark cards by 
>finding" a lot without any problem, so there is something else going 
>on.
>
>--
>Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>HyperActive Software           |     http://www.hyperactivesw.com
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list