LoadPWDefn: LOADING NEW TAGS

Purpose

It is probable (or at least hoped) that, in the future course of development of ProWesS, other people will develop their own types. This will broaden the possibilities of programming in ProWesS. For the Basic Programmer, there would however be a slight problem, since the TAGS for the new types will not be included in the ProWesS Basic Interface. This in turn would mean that you could not use the PW function for the tags for this new type.

Consequently, a scheme has been devised by which extension files for the ProWesS Basic Interface can be made available. These contain further tags and are linked into the ProWesS Basic Interface. After that, the new tags can be used with the PW command just like the built-in tags.

The LoadPWdefn keyword is used to load the extension file and link the tags into the Basic Interface. The extension files are made by the person having made the new type, and should be included with the files for this new type.

Syntax

This keyword is used as follows:

PLoadPWdefn filename$)

filename$ is the name of the extension file. A cursory check is made whether it truely is such an extension file, if it is, it is loaded, and the new tags are linked in.

Example

LoadPWdefn ram1_extension_file

PROGS, Professional & Graphical Software
last edited 1997 Jul 03 (wl)