| home | contents | previous | next page | send comment | send link | add bookmark |

Scalc.h

/*---------------------------------------------------------------------------------*
 *  "scalc.h"
 *
 *  Common declarations for the spreadsheet application.
 *
 *  Stephen R. Schmitt
 *
 *  January 1999
 */
#ifndef SCALC_H
#define SCALC_H

#define CXmax         5                             // number of columns A...E
#define CYmax         9                             // number of lines   1...9
#define CWmax        15                             // cell width

#define MAX_CONTENTS 80                             // screen width is max string

#define SYNTAX       -1                             // cell contains a syntax error
#define EMPTY         0                             // cell is empty
#define EXPRESSION    1                             // cell contains an expression
#define TEXTCELL      2                             // cell contains text

#endif

| home | contents | previous | next page | send comment | send link | add bookmark |

Copyright © 2004, Stephen R. Schmitt