[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] XFCNs for anything!



On 3/12/96 Peter Folk wrote:

>Anybody have a quick explanation or reference, about what an XFCN is?

These are eXtended FunCtionNs from Hypercard et al. They are code resources
that you "plug-in" to a Hypercard stack and call from your script. The only
difference between an XFCN and a XCMD is that the former returns a value:

  put myXFCN("foo") into muVar

Actually XCMDs return a value in a special place that can be read by the
"result" function:

  put the result into myVar

This is used mostly for error conditions.

-R-

--- Richard Rathe, MD - rrathe@ufl.edu - http://www.med.ufl.edu/medinfo/ ---