Futurebasic/Language/Reference/def changedresource

= DEF CHANGEDRESOURCE Statement =

Statement
✔ Appearance ✔ Standard ✔ Console

Revised
August, 2002 (Release 7)

Description
There are probably more potential problems in dealing with the Resource Manager than any other part of the Mac toolbox. One bug in the manager's code is that every time a resource is marked as changed, space is reserved on the disk for a new version without removing any previous requests. So if you change a resource 100 times, then space will be reserved on your hard drive for 100 copies. This becomes a problem because the file size and the number of resources allowed in a single file is finite.

This procedure will only mark a handle as changed (a) it is a resource handle and (b) it is not already flagged as a changed resource.