◄Up► ◄Contents► ◄Index► ◄Back► ─────Programmer's WorkBench───────────────────────────────────────────────── Pbal («pbal») Scans backward through the file, balancing parentheses (()), brackets ([]), and braces ({}). The first unmatched delimiter is highlighted when found. If an unbalanced delimiter 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 delimiters than closing ones. Arg Pbal («arg» «pbal») Like Pbal except that it scans forward through the file and searches for closing delimiters lacking opening partners. Meta Pbal («meta» «pbal») Like Pbal but does not insert the unbalanced character. If no unbalanced characters are found, moves to the matching character. Arg Meta Pbal («arg» «meta» «pbal») 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, the appear in a message box. Returns True: Balance successful. False: Invalid argument, or no unbalanced characters found. -♦-