🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by "John E. Davis" Wed, 11 Nov 1992 13:54
Re: Procedure to matchup (){}[] ???
#79
Author: "John E. Davis"
Date: Wed, 11 Nov 1992 13:54
20 lines
1134 bytes
While these procedures that have been posted may work fine for most purposes,
I do not think they will work as expected for:

if ((ch == ')') || (ch == '('))
  {...}

Does anyone have one that works properly for this case?  If so, does it also
work for this:

if ((ch == '\'') || (ch == '\\'))
  {...}

--
     _____________
#___/John E. Davis\_________________________________________________________
#
# internet: davis@amy.tch.harvard.edu
#   bitnet: davis@ohstpy
#   office: 617-735-6746
#
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads