Pbal

Key

CTRL+[

Pbal

Scans backward through the file, balancing parentheses (( )) and brackets ([ ]). The first unmatched parenthesis or bracket is highlighted when found.

If an unbalanced parenthesis or bracket is found, it is highlighted and the corresponding character is inserted at the cursor. If no unbalanced characters are found, PWB displays a message box.

The search does not include the cursor position and looks for more opening brackets or parentheses than closing ones.

Arg Pbal (ALT+A CTRL+[)

Like Pbal except that it scans forward through the file and searches for right brackets or parentheses lacking opening partners.

Meta Pbal (F9 CTRL+[)

Like Pbal but does not insert the unbalanced character. If no unbalanced characters are found, moves to the matching character.

Arg Meta Pbal (ALT+A F9 CTRL+[)

Like Arg Pbal but does not insert the character. If no unbalanced characters are found, moves to the matching character.

Update

In PWB 1.x, the messages appear on the status bar. In PWB 2.00, they appear in a message box.

Returns

TrueBalance successful.

FalseInvalid argument, or no unbalanced characters found.

See

Infodialog