NAME

TUI::Help::Const - constants for the help system

SYNOPSIS

use TUI::Help;

DESCRIPTION

Defines the help-topic ID limit from the original Borland help compiler and the palette strings from the Turbo Vision help-base design. No constants are exported by default.

CONSTANTS

MAXHELPTOPICID

Maximum topic ID accepted by the help-topic parser. The original Borland help compiler defines 16379; this port uses that value shifted left by 16 bits, so the constant is 16379 << 16 (1073414144).

Help palettes (cXXXX)

cHelpViewer

Help viewer palette: "\x06\x07\x08".

cHelpWindow

Help window palette: "\x80\x81\x82\x83\x84\x85\x86\x87".

Paragraph wrapping states

undefined

0. No paragraph wrapping mode has been selected yet.

wrapping

1. The current paragraph uses word wrapping.

notWrapping

2. The current paragraph preserves line breaks without word wrapping.

EXPORT TAGS

:cXXXX

Imports cHelpViewer and cHelpWindow.

:wrapXXXX

Imports undefined, wrapping, and notWrapping.

:all

Imports all constants, including MAXHELPTOPICID, undefined, wrapping, and notWrapping.

Every constant may also be imported individually.

SEE ALSO

TUI::Help, THelpFile, TUI::Manual::Reference::Constants

AUTHORS

  • Borland International (original Turbo Vision design)

  • J. Schneider <brickpool@cpan.org> (Perl implementation and maintenance)

COPYRIGHT AND LICENSE

Copyright (c) 1990-1994, 1997 by Borland International

Copyright (c) 2026 the "AUTHORS" as listed above.

This software is licensed under the MIT license (see the LICENSE file, which is part of the distribution).