/[ascend]/trunk/models/z-arsubs.a4c
ViewVC logotype

Contents of /trunk/models/z-arsubs.a4c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations) (download) (as text)
Fri Oct 29 20:54:12 2004 UTC (19 years, 7 months ago) by aw0a
File MIME type: text/x-ascend
File size: 1703 byte(s)
Setting up web subdirectory in repository
1 PROVIDE "z-arsubs.a4c";
2 (*
3 * This file is part of the ASCEND Modeling Library and is released
4 * under the GNU Public License as described at the end of this file.
5 *)
6
7 MODEL range_test;
8 a IS_A boolean_constant;
9 b IS_A real_constant;
10 c IS_A integer_constant;
11 d IS_A symbol_constant;
12 a2 IS_A boolean;
13 b2 IS_A real;
14 c2 IS_A integer;
15 d2 IS_A symbol;
16 a :== TRUE;
17 b :== 2.1;
18 c :== 3;
19 d :== 'sdf';
20 a2 := TRUE;
21 b2 := 2.1;
22 c2 := 3;
23 d2 := 'sdf';
24 w[a] IS_A real;
25 x[b] IS_A real;
26 y[c] IS_A real;
27 z[d] IS_A real;
28 w2[a] IS_A real;
29 x2[b] IS_A real;
30 y2[c] IS_A real;
31 z2[d] IS_A real;
32 END range_test;
33
34
35 (*
36 * z-arsubs.a4c
37 * by Benjamin A. Allan
38 * Part of the ASCEND Library
39 * $Date: 1998/06/17 19:39:33 $
40 * $Revision: 1.2 $
41 * $Author: mthomas $
42 * $Source: /afs/cs.cmu.edu/project/ascend/Repository/models/z-arsubs.a4c,v $
43 *
44 * This file is part of the ASCEND Modeling Library.
45 *
46 * Copyright (C) 1997 Carnegie Mellon University
47 *
48 * The ASCEND Modeling Library is free software; you can redistribute
49 * it and/or modify it under the terms of the GNU General Public
50 * License as published by the Free Software Foundation; either
51 * version 2 of the License, or (at your option) any later version.
52 *
53 * The ASCEND Modeling Library is distributed in hope that it
54 * will be useful, but WITHOUT ANY WARRANTY; without even the implied
55 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
56 * See the GNU General Public License for more details.
57 *
58 * You should have received a copy of the GNU General Public License
59 * along with the program; if not, write to the Free Software
60 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139 USA. Check
61 * the file named COPYING.
62 *)

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22