NOTICE

From Liberty BASIC Family
Jump to navigation Jump to search
Supported in Just BASIC Supported in Liberty BASIC Not supported in Liberty BASIC 5 Not supported in Run BASIC

Description

Provides a pre-made information dialog window with a default caption of - NOTICE - and displaying a "string expression" message.

Syntax

  1. notice "string expression"
This form adds a Caption to the window
  1. notice "Window Title" + chr$(13) + "string expression"
Use this form for multiple lines in expression
  1. notice "Caption" + chr$(13) + "line 1" + chr$(13) + "line 2" ...
Multiple lines and NO Caption: use single space in the first string
  1. notice " " + chr$(13) + "line 1" + chr$(13) + "line 2" ...

Hints

String expressions can be variables.

Example

' The basic NOTICE statement

notice "Thank you for playing."

' The basic NOTICE statement with Caption added
notice "And now we present" + chr$(13) + "The Just BASIC Wiki Building Blocks"

' With Caption and multi-line message
notice "Super Xpert" + chr$(13) + "Version 1.0" + chr$(13) + "Copyright 2010"
end

Useful Procedures

' Place a useful function or sub using this keyword here