🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.pascal
Article #194

Re: Request for Berkeley Pascal information

#194
From: rusty c. wright
Date: Sat, 13 Jul 1985 21:29
18 lines
1176 bytes
Although the Berkeley Pascal compilers don't support the "others"
clause (or whatever it is called; run strings on pxp and see if
something pops up) pxp has a hack in it that will do what you want.
Just give pxp the -O flag and it will turn case statements that use
"others" into the appropriate

	if foo in [...] then
		case foo of
		...
	else
		...

Just do something like

	pxp -O myfile.p > mynewfile.p
-- 
	rusty c. wright
	{ucbvax,ihnp4,akgua,hplabs,sdcsvax}!sdcarl!rusty
Technical Details
Message-ID: <221@sdcarl.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!bonnie!akgua!whuxlm!whuxl!houxm!ihnp4!qantel!hplabs!sdcrdcf!sdcsvax!sdcc3!sdcarl!rusty
References: <645@umd5.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site sdcarl.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!bonnie!akgua!whuxlm!whuxl!houxm!ihnp4!qantel!hplabs!sdcrdcf!sdcsvax!sdcc3!sdcarl!rusty
From: rusty@sdcarl.UUCP (rusty c. wright)
Newsgroups: net.lang.pascal
Subject: Re: Request for Berkeley Pascal information
Message-ID: <221@sdcarl.UUCP>
Date: Sat, 13-Jul-85 17:29:41 EDT
Article-I.D.: sdcarl.221
Posted: Sat Jul 13 17:29:41 1985
Date-Received: Wed, 17-Jul-85 21:18:08 EDT
References: <645@umd5.UUCP>
Reply-To: rusty@sdcarl.UUCP (Rusty Wright)
Organization: Computer Audio Research Lab, UCSD, San Diego, Calif.
Lines: 18