A list of Quirks which are not really bugs, and not really likely to be fixed or changed, but which are nonetheless likely to cause upset if an explanation can't be found easily...

Equate overrides

If an equate is originally defined following a line break any re-definition must do the same - for example:

%%equate FOO "bar"

can be overridden by

%%equate FOO "bar"

but

%%equate LONGER_DEFINITION
   "foo"

must be overridden thus:

%%equate LONGER_DEFINITION
   "new value on its own line"

%%banner definition

Banners can only be defined additively, so setting %%banner %foo in one conduit and then attempting to override it with the same %%banner %foo statement in a dependent conduit will result in both banners being printed in the latter.

The easiest solution is to split the banner definition in the base conduit:

%%block THEBANNER
%% banner content here
%%end
 
%%banner %TITLE
%% stub which looks up the banner
#THEBANNER\
%%end

and to predefine an empty banner in the overriding conduit:

%%block THEBANNER
%%end
%% include existing conduit
%%include "conduits/TPXXX_Existing_Conduit"
%%include [...]

-- TimColles - 27 Nov 2018

Topic revision: r1 - 27 Nov 2018 - 15:44:05 - TimColles
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
This Wiki uses Cookies