🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: vmsnet.tpu
Article #70

Procedure to matchup (){}[] ???

#70
From: Lawrence Giltner
Date: Sun, 08 Nov 1992 11:35
16 lines
1175 bytes
Before I spend a lot of time reinventing the wheel:

Does anybody have a procedure to pair up parenthesis, brackets, and
braces.  I would like to put the cursor on one of ()[]{} and let the
program figure out which direction it has to search and if found, then
marks/selects all the text between them, including the ()[]{}.

Is there a TPU procedure for this?   TPU v2.6 on VMS v5.5.

I wrote a procedure like this for VDE and would like the same
convenience.

   main.frame (man'fram'), n. the largest peripheral you can attach to a PC.
   Of course these are my opinions, you'll have to go out and buy your own!
 VAX Internet  ldgiltne@wsuhub.uc.twsu.edu   VAX BITNET  ldgiltne at twsuvax
                Wichita State University   Wichita, Kansas,  U.S.A.
Technical Details
Message-ID: <1992Nov8.053543.383@wsuhub.uc.twsu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!darwin.sura.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!kuhub.cc.ukans.edu!wsuhub.uc.twsu.edu!ldgiltne

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!darwin.sura.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!kuhub.cc.ukans.edu!wsuhub.uc.twsu.edu!ldgiltne
Newsgroups: vmsnet.tpu
Subject: Procedure to matchup (){}[]  ???
Message-ID: <1992Nov8.053543.383@wsuhub.uc.twsu.edu>
From: ldgiltne@wsuhub.uc.twsu.edu (Lawrence Giltner)
Date: 8 Nov 92 05:35:43 CST
Organization: Wichita State University, Wichita, Ks
Lines: 16