About this Program…
Have you noticed the item in the Help menu – “About this Program…” – that is usually grayed out? It’s reserved especially for your own project. Just define a procedure named ABOUT and Logo will automatically assign it to this menu item.
Any procedure will do, but for a short, popup message, the ALERT command works best. Look for examples in other projects here in the Logo Library.
About.lgo
; Fill in the P# lines with your own information to describe your project.
; Use :LF to get a line break; use :PP to force a blank line to mark paragraphs.
; Combine all of your P# lines into one "string" with WORD.
TO ABOUT
(LOCAL "LF "PP "SAMPLE.TEXT "P1 "P2 "P3 "P4 "P5 "P6 "P7 "P8 "P9 "P10)
MAKE "LF CHAR 10
MAKE "PP WORD :LF :LF
MAKE "P1 "||
MAKE "P2 "||
MAKE "P3 "||
MAKE "P4 "|Hello, world!|
MAKE "P5 "||
MAKE "P6 "||
MAKE "P7 "||
MAKE "P8 "||
MAKE "P9 "||
MAKE "P10 "||
MAKE "SAMPLE.TEXT (WORD :P1 :P2 :P3 :P4 :P5 :P6 :P7 :P8 :P9 :P10)
IGNORE ALERT :SAMPLE.TEXT
END
Procedure | ABOUT |
Description | Document your project with Help/About this Program... |
Level | Beginner |
Tags | Help, Documentation |