On Wed, 24 May 2000, Jacqueline Landman Gay wrote:

> > A quoted string definitely is an expression, but an *unquoted* string,
> > which is what Jacque was trying to use, is not.
> 
> No, I was talking about quoted strings, specifically those which are
> exported from a database such as Excel where every field entry is
> enclosed in quotations.
> 
>   "Jacque", "Gay", "President, HyperActive Software"
> 
> for example.

Your original post was:
        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?

In this case, "my dog" might look like a quoted string, but in fact
it's not by the time it gets to the value function.  To pass value a
quoted string, you would have to do:
          the value of quote & "my dog" & quote

And as for the problem getting the last item as a unit, neither
MetaTalk or HyperTalk can get you that because they don't pay
attention to quotation marks when delimiting item chunks.  You have to
use word chunks, or in MetaTalk, you can use the token chunk type,
which has the additional benefit of stripping the quotes like you want
so you don't even have to use "value" to do that.
  Regards,
    Scott


> -- 
> 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.
> 

********************************************************
Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...


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.

Reply via email to