home *** CD-ROM | disk | FTP | other *** search
/ Carousel / CAROUSEL.cdr / mactosh / hc / xcmd_res.sit / ResCopier / card_3572.txt < prev    next >
Text File  |  1987-11-02  |  2KB  |  44 lines

  1. -- card: 3572 from stack: in
  2. -- bmap block id: 3245
  3. -- flags: 4000
  4. -- background id: 2701
  5. -- name: Resources 1
  6.  
  7.  
  8. -- part 10 (field)
  9. -- low flags: 01
  10. -- high flags: 2000
  11. -- rect: left=35 top=69 right=291 bottom=470
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 3
  16. -- text size: 9
  17. -- style flags: 0
  18. -- line height: 10
  19. -- part name: 
  20.  
  21.  
  22. -- part contents for card part 10
  23. ----- text -----
  24. The icon that you see in the Finder is a bit misleading. The file that you see is potentially two separate files; a Data file and/or a Resource file.
  25.  
  26. Data files are traditional files; they have only the structure that their creators
  27. impose upon them. For example, there is no inherent structure to a word
  28. processing document; it must be fully interpreted by the program that creates it.
  29. The Macintosh knows little of how to access a data file except on a byte-by-byte
  30. basis. You can't tell the Macintosh to "ΓǪget paragraph #6 on this page".
  31.  
  32. Conversely, a Resource file adheres to a standard format. In fact, a Resource
  33. file can be described as containing still more files; it is a folder of sorts. All
  34. application programs are resource files. The resources themselves are such
  35. things as program code, descriptions of menus, windows, and dialog boxes,
  36. icons, pictures, etcΓǪ You CAN tell the Mac "ΓǪget the Icon named Bill".
  37.  
  38. How does all this relate to HyperCard? Well, stacks are a hybrid of the two file
  39. types - in reality they are two separate files. HyperCard stores the graphics
  40. making up cards and backgrounds, the text of fields, and scripts in a private
  41. format within the Data file. However, it utilizes the standard format of the
  42. Resource file for such things as Icons ('ICON') and Sounds ('snd '). These are 
  43. what you will see of a stack in ResCopyΓǪ
  44.