Jacque,
I think you may have hit upon a bug. I put the following into the message
box:
answer value("This is my dog.")
and it returned a "double binary operator" and flagged the word "is" as a
bad token. Evidently it was trying to evaluate the trueness or falseness of
the expression containing "is". However, you would think that the value of a
string would be the string.
However, I tried
answer value(quote & "This is my dog." & quote)
and it returned
This is my dog.
I admit I like HC's easy way of handling strings. However, even it is a bit
arbitrary. For example, in HC
answer value(3 = 2+1)
and
answer value("3 = 2+1")
both return
true
even though I hoped to get a string back for the second. OK, Scott? Kevin?
How do the rules work?
Raymond
>
> From: Jacqueline Landman Gay <[EMAIL PROTECTED]> asked:
> In HyperCard, the value of any phrase in quotes returns the entire
> phrase. In MetaCard, this:
>
> the value of "my dog"
>
> returns "my". Is this right? What are the rules?
> --
> Jacqueline Landman Gay | [EMAIL PROTECTED]
> HyperActive Software | [EMAIL PROTECTED]
> Custom hypermedia solutions | http://www.hyperactivesw.com
> 612.724.1596 | 612.724.1562 - fax
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.