%cm ----------------------- GLOBAL DEFINITIONS ---------------------

%attrdef(card_attr,GREEN,NO)
%attrdef(popup_note_attr,GREEN,PO+NO)

%linkdef(link_attr,RED,RV+HI,LK)

%cm ------------------------ HYPERTEXT CARDS ----------------------

%card(card_1,card_attr,3)
%linkname(card_one)
%linktext("More On Links")

                                  CARD 1

   This series of cards provides more information about hypertext links.

   %link("CARD 2",card_2,link_attr)demonstrates the %%linkname command.

   %link("CARD 3",card_3,link_attr)demonstrates the %%linktext command.

   %link("CARD 4",card_4,link_attr)demonstrates popup notes.

%card_end(card_1)

%card(card_2,card_attr,3)

                                  CARD 2

   The %%linkname command defines a card alias for a hypertext card.
   You can use the card alias to reference a card instead of using
   the card name defined by the %%card command.

   For example, this is a link to%link("CARD 1",card_1,link_attr)%go
that uses the card name
   card_1 as specified by the %%card command, and this is a link to
  %link("CARD 1",card_one,link_attr)that uses an alias of card_one %go
as specified by the
   %%linkname command

%card_end(card_2)

%card(card_3,card_attr,3)

                                  CARD 3

   The %%linktext command defines a linktext-string that can be used
   as a way to link to the card in which the %%linktext command appears.

   You can use the linktext-string as the display-string argument to
   the %%link command to reference a specific card. For example, this
   is a link to CARD 1 that ues the link-text string %go
"%link("More On Links",,link_attr)"
   as the display-string argument.

%card_end(card_3)

%card(card_4,popup_note_attr,3)

                                  CARD 4

   This is a popup note. It is accessed from CARD 1 and it will be
   displayed on top of CARD 1. When the ENTER key is pressed, the popup
   note is closed and CARD 1 is still displayed.

   The PO attribute specified in the %%attrdef command for the
   popup_note_attr attributes makes this a popup note.

%card_end(card_4)