home *** CD-ROM | disk | FTP | other *** search
- From: omoduser@hpbbi4.BBN.HP.COM (#Ralf Klein)
- Date: Wed, 12 Aug 1992 10:12:16 GMT
- Subject: pascal mode ?
- Message-ID: <13190007@hpbbi4.BBN.HP.COM>
- Organization: Hewlett-Packard GmbH
- Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscdc!hplextra!hpcc05!hpbbn!hpbbi4!omoduser
- Newsgroups: gnu.emacs.help
- Lines: 68
-
- Hallo,
-
- Has anyone got a psacal mode that will support the following style of pascal ?
-
-
-
-
- PROCEDURE Open_Dds_File ( VAR prog_status : INTEGER;
- VAR in_fnum : t_fnum_open_rec );
-
- CONST
- c_open_dds_file = 'Open_Dds_File';
-
- VAR
- open_create_parms : t_open_create_parms_rec;
- i : INTEGER;
- fred : INTEGER;
- john : INTEGER;
-
- BEGIN
-
- dds_file_opened := FALSE;
-
- FOR i := 1 TO 10 DO
- BEGIN
- fred := fred + 1;
- john := john - 1;
- END;
-
- IF (fred = john) THEN
- john := fred
- ELSE IF (john <> fred) THEN
- john := john - fred;
-
- WITH open_create_parms DO
- BEGIN
- IF (prog_status = 0) THEN
- open_create_parms := c_open_create_parms_init;
-
- Coe_Fopen ( prog_status,
- c_open_dds_file );
-
- IF (prog_status = 0) THEN
- BEGIN
- dds_file_opened := TRUE;
- in_fnum := open_create_parms.fnum;
- END
- ELSE
- BEGIN
- foptions := c_foptions_std_ascii_old;
- aoptions := c_aoptions_read_excl;
- END;
-
- END; {with}
-
- END; { open_dds_file... }
-
-
- Cheers
- Corny
- ________________________________________________________________
- ADDRESS: | PHONE +49-7031-143729
- Hewlett Packard GmbH | FAX +49-7031-141554
- attn: Corny de Souza (ISO) | TELNET 778-3232
- Herrenbergerstr. 120 | HPDESK SOUZA_CORNY_DE/HP6000_75
- D-7030 Boeblingen | MAIL cdesouza@hpbbi8.bbn.hp.com
- Federal Republic Germany |
-
-