• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: interesting discovery (trying to get record labels as strings)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: interesting discovery (trying to get record labels as strings)


  • Subject: Re: interesting discovery (trying to get record labels as strings)
  • From: "Serge Belleudy-d'Espinose" <email@hidden>
  • Date: Tue, 4 Dec 2001 01:03:26 +0100

At 14:03 -0800 3/12/01, Paul Berkowitz wrote:

> > Is there a way to coerce the string "hello" into a call to the record? (i.e.
> > hello of {hello:"goodbye"})
>
> hello of ({{+class usrf;:{"hello", "goodbye"}}} as string as record)
> -- "goodbye"

I think the original question was, how to get 'hello' of the record when 'hello' is actually the content of a string? the 'class... as string as record' trick is great, but it's still only a way to build a record on the fly, not to get the content of it...
Stoping midway, at 'class... as string', seems to allow getting the content of an arbitrary property with a bit of parsing, but it still has to prove being universal.


Serge
--
\\//\//\// Serge Belleudy-d'Espinose Institut Jacques Monod
// // // http://www.ijm.jussieu.fr/ Universite Paris VII - Jussieu
//\//\//\\


References: 
 >Re: interesting discovery (trying to get record labels as strings) (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Back to Dynamic Records (Was: Re: interesting discovery (trying to get record labels as strings))
  • Next by Date: Re: Path to app ...
  • Previous by thread: Re: interesting discovery (trying to get record labels as strings)
  • Next by thread: Re: interesting discovery (trying to get record labels as strings)
  • Index(es):
    • Date
    • Thread