<% Global.HopObject.prototype.switch %>
this macro renders a text depending on the value of a given property

Sourcecode in /home/hannes/helma/modules/core/HopObject.js:
64:   HopObject.prototype.switch_macro = function(param) {
65:       if (param.name) {
66:           res.write(this[param.name] ? param.on : param.off);
67:       }
68:       return;
69:   }