
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - Norton Guide
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
This button allows to access the properties of the element. This
environment is also activated pressing the Ctrl-Enter key directly on
the element without accessing the definition frame.
The properties are made up of a list of options, containing the name and
value. The value of the options of an element directly influences the
behaviour of the code generated.
The property highlighted is modified by pressing Enter, Space Bar
or double clicking with the mouse. A special property, common to all the
elements existing in dBsee, is called Slot.
Slot
The template is an attribute that can be associated to any entity that
dBsee is able to produce. The slot is a particular property that
allows the programmer to interact with the template, thus influencing the
generator's behaviour in order to obtain differentiated code. During the
generation, executing the template, the contents of the slot can be
interrogated in order to vary the way the system generates the entity.
In order to use the slot, it is sufficient to enter a value or a sequence
of data, and then intervening in the template, activating the necessary
control structures for processing the information entered.
Example:
.* Investigating the contents of the slot
.* toItem("slot") returns the value entered
.if toItem("slot")="new"
.* Run the new template
.do new
.else
.* Anything else entered
.do old
.endif
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson