Introduction | Language Structure | IB Statements | File System | Comet 32 Runtime | Index |
Mnemonic:
| (HyperLink = LinkText$, LinkAction$, Style)
where:
|
| Discussion: |
The HyperLink mnemonic displays a hyperlink on the screen.
For a complete discussion, see Comet Hyperlinks. |
| Example: |
Print @(0,3);"What is your favorite flavor?" Print @(0,4);(Hyperlink="Chocolate","LINK1",0) Print @(0,5);(Hyperlink="Vanilla","LINK2",0) Print @(0,6);(Hyperlink="Strawberry","LINK3",0) Print @(0,7);(Hyperlink="Chocolate chip","LINK4",0)This program displays several hyperlinks on the Comet/CometAnywhere screen. If the user clicks on the any of these links, the associated LinkAction$ value is passed to the event handling subroutine. For example, if the user clicks on the "Chocolate chip" hyperlink, "LINK4" is passed to the event handling subroutine. Notice that all of the above hyperlinks are displayed without an underline (Style = 0). Note: The above code segment comes from the HyprLink.ibs demo program (available in the DMW release). |