source: trunk/crs97/codes.c @ 1

Last change on this file since 1 was 1, checked in by cbipsl, 18 years ago

Geisa inital import

File size: 510 bytes
Line 
1#include <stdio.h>
2void codes_(void)
3{
4/* type Molecules */
5struct molecules
6{
7char name[10];
8int mcode;
9int n1[4];
10};
11/* type (Molecules) ListofMol */
12/* common /Reg9/ ListofMol */ 
13extern struct reg9 { struct molecules listofmol;}; extern struct reg9 reg9_;
14printf("molcodes: mon nom est <%10s>\n",reg9_.listofmol.name);
15printf("molcodes: mon code est %d\n",reg9_.listofmol.mcode);
16printf("molcodes: mon N1(1) est %d\n",reg9_.listofmol.n1[0]);
17printf("molcodes: mon N1(4) est %d\n",reg9_.listofmol.n1[3]);
18}
Note: See TracBrowser for help on using the repository browser.