You use the BUILD procedure's DISPLAY window to design
the displays for CBT entries. The displays can use any of the text
color features and highlighting features that the SAS text editor
supports. In addition to static text, the display can include fields
in which users can enter or select answers to questions, as well as
graphics.
The display for
a CBT entry is divided into a sequence of
frames.
Frame boundaries in the display are indicated with either a frame
indicator line or a divider line that consists of dash (
-
)
characters across the full width of the DISPLAY window. (You can use
the FILL command in the DISPLAY window to create divider lines.) Refer
to
Frame Indicator Syntax for information about the syntax
of frame indicator lines.
In addition to presenting
information to users, frames in CBT entries can pose both fill-in-the-blank
and multiple-choice questions. Refer to
Query Frames for details about creating frames
that present questions. If the frame contains a question for users,
it must begin with a frame indicator line, and it must include one
or more feedback indicator lines that determine how the entry responds
to user input. Refer to
Feedback Indicator Syntax for information about the syntax
of feedback indicator lines.
If a frame does not
present a question, users can press ENTER to advance to the next frame
in the sequence. If the frame presents a question, users must either
attempt to answer the question or use the FORWARD command to skip
the question. Users can issue the BACKWARD command to scroll back
to previous frames in the sequence. When a user issues an END command
to close the CBT entry, the current entry name is stored as the AF
checkpoint (unless the CHECKLAST=NO option was specified in the AF
command that started the application). Users can issue the SAVE command
to save the current frame number and end the current SAS session.
When the user opens the CBT entry again, it resumes at the frame that
was displayed when the SAVE command was issued.
You can define frames
that branch unconditionally to other
SAS/AF catalog entries. To define a frame that jumps to another
entry, use a divider line to begin the frame, and enter three uppercase
P characters in the first three columns of the next line. Follow the
PPP
with
the name of the entry to open.