Why need "card" to specify field?

Ken Ray kray at sonsothunder.com
Tue Dec 16 15:14:54 CST 2003


This is because the hcAddressing property is turned on for HC stacks
that are imported into MC and it provides compatibility with the way HC
addresses objects. You can turn it off if you like.

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/ 

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> Andrew Duncan
> Sent: Tuesday, December 16, 2003 1:13 PM
> To: use-revolution at lists.runrev.com
> Subject: Why need "card" to specify field?
> 
> 
> In a stack imported from a HyperCard stack, I need to prefix a 
> reference to a field with the word "card". E.g. evaluating 
> 'the rect of 
> field "x"' in the message box fails with "no such object" but 
> evaluating 'the rect of card field "x"' works.
> 
> In other Rev stack I've created, the word "card" is not necessary. 
> Rereading the Rev Dictionary info for HC programmers, and about 
> importing stacks, I see nothing about this. Looking in the dictionary 
> for the "field" keyword and the field objects says nothing 
> about this. 
> Searching for "card field" turns up nothing.
> 
> Why is this extra word necessary?
> 
> Andrew
> aduncan at expertcity.com
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com 
> http://lists.runrev.com/mailman/listinfo/use-> revolution
> 




More information about the use-livecode mailing list