Documentation/BASIC Guide/Constants

From Apache OpenOffice Wiki
< Documentation‎ | BASIC Guide
Revision as of 11:49, 26 September 2007 by Fpe (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Constants

In Apache OpenOffice Basic, use the keyword Const to declare a constant.

Const A = 10

You can also specify the constant type in the declaration:

Const B As Double = 10
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools