[Lazarus] 'with' is evil, isn't it?

Luca Olivetti luca at wetron.es
Fri Aug 5 12:30:15 CEST 2011


Al 05/08/11 12:11, En/na Max Vlasov ha escrit:

> Luca shared an interesting fact, so I tried to find more information. He probably meant UCSD Pascal, as I see this is a very interesting system, mentioned also in the lazarus wiki ( http://wiki.freepascal.org/UCSD_Pascal ). I downloaded the sources of the system,  but I could not find the examples of similar syntax inside many with statements... Maybe there are other sources.

No, I meant TI Pascal.
Since this is very old stuff, I didn't think I could find anything about it,
but here is the manual (I'm not sure is the same version I used but it seems
pretty close):

http://www.bitsavers.org/pdf/ti/990/pascal/0946290-9701_TI_Pascal_UsersManual_Jan79.pdf

(warning: 34MB file)

On page 62 there's the definition of the with statement and it uses "="

<with statement> ::= WITH <with variable list> DO <statement>
<with variable list> ::= <with variable> {, <with variable>}
<with variable> ::= <record variable> | <identifier> = <record variable>

Bye
-- 
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004 (Ext.133)  Fax +34 93 5883007




More information about the Lazarus mailing list