spielwiese
Release-4-3-2p1
Last change
on this file was
4bde6b,
checked in by Hans Schoenemann <hannes@…>, 3 years ago
|
spelling p1
|
-
Property mode set to
100644
|
File size:
545 bytes
|
Line | |
---|
1 | // example of a library |
---|
2 | info=" |
---|
3 | LIBRARY: sample_lib0.lib |
---|
4 | "; |
---|
5 | |
---|
6 | proc dummy1(int i, // parameter list can stretch across |
---|
7 | int j) // multiple lines |
---|
8 | { return(string(i)+"+"+string(j)+"="+string(i+j)); } |
---|
9 | |
---|
10 | proc dummy2(proc sum, int j, int k) |
---|
11 | { return(sum(j,k)); } |
---|
12 | /* { and } does not need to be the |
---|
13 | first character in line */ |
---|
14 | |
---|
15 | ////////////////////////// |
---|
16 | /* |
---|
17 | LIB"sample_lib0.lib"; // some comments at the end |
---|
18 | help sample_lib0.lib; |
---|
19 | proc tt1=dummy1; |
---|
20 | kill dummy1; |
---|
21 | dummy2(tt1,2,3); |
---|
22 | */ |
---|
23 | |
---|
Note: See
TracBrowser
for help on using the repository browser.