home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel
/
CAROUSEL.cdr
/
mactosh
/
hc
/
xcmd_res.sit
/
ResCopier
/
card_3572.txt
< prev
next >
Wrap
Text File
|
1987-11-02
|
2KB
|
44 lines
-- card: 3572 from stack: in
-- bmap block id: 3245
-- flags: 4000
-- background id: 2701
-- name: Resources 1
-- part 10 (field)
-- low flags: 01
-- high flags: 2000
-- rect: left=35 top=69 right=291 bottom=470
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 10
-- part name:
-- part contents for card part 10
----- text -----
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.
Data files are traditional files; they have only the structure that their creators
impose upon them. For example, there is no inherent structure to a word
processing document; it must be fully interpreted by the program that creates it.
The Macintosh knows little of how to access a data file except on a byte-by-byte
basis. You can't tell the Macintosh to "…get paragraph #6 on this page".
Conversely, a Resource file adheres to a standard format. In fact, a Resource
file can be described as containing still more files; it is a folder of sorts. All
application programs are resource files. The resources themselves are such
things as program code, descriptions of menus, windows, and dialog boxes,
icons, pictures, etc… You CAN tell the Mac "…get the Icon named Bill".
How does all this relate to HyperCard? Well, stacks are a hybrid of the two file
types - in reality they are two separate files. HyperCard stores the graphics
making up cards and backgrounds, the text of fields, and scripts in a private
format within the Data file. However, it utilizes the standard format of the
Resource file for such things as Icons ('ICON') and Sounds ('snd '). These are
what you will see of a stack in ResCopy…