Fourth World Logo Fourth World Media Corporation
  Embassy Services Products Resources   About Fourth World Contact  


IncWell Logo

SuperCard FAQ

4W Logo

How does the message hierarchy differ from HyperCard?


SuperCard's message hierarchy is similar to HyperCard's, with a HyperCard stack being functionally equivalent to a SuperCard window. There is also the addition of a new level to this hierarchy, called the Project, which serves as a container for the windows, menus and resources which make up a project.


A diagram of the message-passing hierarchy might look like this:
        keyboard         mouse      menu item   message box
     ---------------     -----      ---------   -----------
       |         |         |            |            |
  ----------  --------------------      |            |
  | field  |  | button  graphics |    menu           |
  ----------  --------------------      |            |
        |                  |            |            |
        ----------------------------------------------
                           |
                    current card
                           |
                    current background
                           |
                    current window
                           |
                    current project
                           |
                  project XCMD or XFCN
                           |  
                      SharedFile
                           |
                SharedFile XCMD or XFCN
                           |
                       SuperCard


Also, SuperCard does not implement the "dynamic path." Therefore, when you go to a new card, the new scripts are not part of the current hierarchy. Use the send command to pass messages to the new card, if necessary. See previous question for more details.