home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
datafiles
/
text
/
c_tutor
/
struct.def
< prev
next >
Wrap
Text File
|
1995-02-27
|
1KB
|
18 lines
/* *************** structure definitions ******************** */
struct vars{ /* variable storage */
char varname[7]; /* variable name A-F & I-N */
char outtype; /* output format for variable */
double value; /* value of the variable */
}; /* */
/* */
struct lines{ /* dynamic structure for transcripts */
struct lines *dn; /* next transcript line */
struct lines *up; /* last transcript line */
char *lineloc; /* point to dynamic location of line */
int linelngt; /* length of line stored here */
char isvalue; /* 1 = calculated value, 0 = none */
char marked; /* 1 = line marked, 0 = not marked */
char strval[13]; /* string representation of variable */
}; /* */
/* ************** end of structure definitions ************** */