[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The following table lists global constants which are defined at compile
time and can not be modified by the user. Where the user would want to
use different values, some other well-defined mechanism usually exists
(for instance, use command line options or environment variable to specify
new values for the INPUT_FILE
variable).
These values are used most often in error checking, and are referred to both in 2.4 Error Messages and in the descriptions of individual commands.
@set{ccInBufSize} 250000 @set{ccOutBufSize} 70000 @set{ccInputFile} COGSYS.IN @set{ccOutputFile} COGSYS.OUT @set{ccLabelFile} KEEPFILE.TMP @set{ccNumVars} 100 @set{ccTmpStrLen} 256 @set{ccMaxIfNest} 16 @set{ccCommentMarker} ; @set{ccMaxUniquePics} 1000 @set{ccFairTime} 500000 @set{ccTimeUpRespChar} & @set{ccBreakoutChar} @ @set{ccDefaultFontPath} C:\DATA\FONTS @set{ccDefaultPicPath} C:\DATA\PICS\PCX\SHAPES @set{ccDefaultPicType} 2 (320x200x256) @set{ccMaxPicSets} 5 @set{ccMaxFrames} 500 @set{ccCogVarClearColor} 4 @set{ccCogVarTime} 5 @set{ccCogVarKey} 7
Name | Value | Description |
INBUF_SIZE |
Maximum size (in bytes) of testlist file. | |
OUTBUF_SIZE |
Maximum size (in bytes) of outfile. | |
INPUT_FILE |
`' | Default testlist file name. |
OUTPUT_FILE |
`' | Default outfile file name. |
LABEL_FILE |
`' | Default labels file name. |
NUM_VARS |
Number of Cogsys variables | |
Int Range | +/- 2,147,483,647 | Valid range of any Cogsys variable (and most other numerical parameters). |
TMP_STR_LEN |
Max length (in characters) of any Cogsys string. | |
MAX_IF_NEST |
Maximum number of levels If statments may be nested. | |
COMMENT_MARKER |
`' | Character to mark start of comment. |
MAX_UNIQUE_PICS |
Maximum number of unique pictures that can be loaded into memory. | |
FAIRTIME |
Maximum time (in milliseconds) that can be specified in commands that have time arguments. | |
TIMEUP_RESP_CHAR |
`' | Character to use as response key in timed response commands that time out. |
BREAKOUT_CHAR |
Key to press to break out of teslist (on commands that support it). | |
DEFAULT_PIC_PATH |
`' | Default directory to look for pictures. |
DEFUALT_PIC_TYPE |
Default Picture Type | |
MAX_PICSETS |
Maximum number of picture sets in commands that take start,end,frames triplets.
| |
MAX_FRAMES |
Maximum frames value allowed in a picture set triplet. | |
COGVAR_CLEARCOLOR |
Cogsys variable that specifies what color the graphics mode clear screen uses. | |
COGVAR_TIME |
Cogsys variable that holds the latest reaction time. | |
COGVAR_KEY |
Cogsys variable that holds the latest reaction key. |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |