9. Declaration of Slots
Aus Hugo Doku
Slots are insertion points, where other child frames can write their output by a corresponding output method.
You need not to declare slots, because for each slot declaration there is a corresponding context method. But declaring the slot first and then use it has two advantages:* The Frame class gets much more readable, because you see at a glance, what child output methods are used.* The syntax of usage is shorter.
9.1. @#slot
@#slot slotname;
Description:
Declares a slot. You can use this slot then in an output method by just writing @#slotname.
This is a good alternative to the context method @#slot<! !>. By declaring the slot first, the Frame class gets much more readable.
<not documented further yet, examples missing>
Next: 9.2. @#slot_list

