Women in Technology

Hear us Roar



Article:
  Embedding F-Script into Cocoa Applications
Subject:   thanks
Date:   2002-08-08 21:55:50
From:   psheldon
Response to: Re: Eg.2, passing and retrieving

Reminds me of a long ago memory of APL. Pretty good memory when I am exhausted from working out a digital laplacian version of Mike Beam's column.


Need to figure out how to pencil around an F-Script sentence like :
"[:a| a at:a location = 'CHICAGO' & (a capacity >=200)]"


Also, might like to know if at: was short for attribute or where to go look it up, eg. examples on how to navigate your pdf book on F-Script. Maybe further columns will get up my nerve to navigate or I shall simply read the book when I get enough confidence.


Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • thanks
    2002-08-09 09:46:33  pmougin [View]

    You’re right; F-Script is heavily inspired by APL. The "at:" method with an array of boolean argument implements the APL compression functionality.


    Note that at: is not short for "attribute". It’s similar to the NSArray “objectAtIndex:” method, just more general. For more on this method, look in the F-Script guide (http://www.fscript.org/download/FScriptGuide.pdf) at section 17.


    And, yes, in order to understand how the array expressions work in F-Script, you should definitely read the guide.


    Questions are welcome on the F-Script mailing list or directly to me.


    Phil