Tools for Package Developers

Every Magic Cap package developer should have a copy of Code Warrior Magic. Once you have it, though, you realize that you can tinker with it and write spiffy little tools that help you in your package-writing quests. This page attempts to collect those tools.

The tools are binhexed and sometimes stuffed, depending on their size.

MarkInstance

MarkInstances is an MPW tool by Manuel Veloso. This tool adds marks for each object instance in the target file. It's pretty handy for editing those huuuuuuuuuge Objects.Def files for larger packages.

Renumber

Renumber is an MPW tool by Onno Janssen. It automatically renumbers instance definitions in your object definition files. Invoke Renumber from your worksheet this way:

Renumber # Objects.Def > Objects.Def.New
For #, substitute the number you want to start numbering with. Renumber accepts any positive integer. The tool writes its output to stdout, so you'll usually want to redirect its output to a file. Normally the tool runs silently, but it'll display its progress if you use the -p option, like this:
Renumber -p # Objects.Def > Objects.Def.New

left arrow Back to the Magic Cap archive top page