[comp.lang.pascal] with statement

conan@vax1.acs.udel.EDU (Robert B Carroll) (07/21/89)

What was wirth's reasoning behind making the syntax of the with statement:

 with x,y,z,......


It sure isn't because he wanted to make pascal 'more'
structured. scope rules or not, its still for the crapper.....
-- 
conan@vax1.acs.udel.edu OR conan@192.5.57.1
*******************************************
****I only play DISC GOLF and drink tea****
*******************************************

schwartz@shire.cs.psu.edu (Scott Schwartz) (07/21/89)

In article <4023@udccvax1.acs.udel.EDU> Robert B Carroll writes:

| What was wirth's reasoning behind making the syntax of the with statement:
| 
|  with x,y,z,......

This is an abbreviation for

	with x do with y do with z do ...

just as 

	array [range,range,range,...]

is an abbreviation for

	array range of array range of array range ...

--
Scott Schwartz		<schwartz@shire.cs.psu.edu>