Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Elegant way to reference a function?

From: rpgwriter:yah:oo at: 4-Dec-2001 15:12

--- Patrick Philipot <[pat665--ifrance--com]> wrote:
> To be more practical, if I have a button like this > on a window. > > button "show me" [display] > > I want the function display to be : > - a simple test function when debuging or > - a function that shows a photo or > - a function that displays a FAQ text
How about using something like: button "show me" [thing/display] Where "thing" is an object which wraps the default object used in debugging, photo, or faq text, and includes a "display" method as part of the object definition? Chris Dicely