VARIABLE DESCRIPTION FOR SUB ADVENTURE A..........Counter variable for random routine. A$.........General string input. C1$........String which is added to object when player wears it. NM$........Filename input string. BK$........Blank lines for scrolling. CO$(.......Holds the command array. I..........General purpose counting variable. IN.........Number of objects being carried, maximum of 5. IS(........Array holds number of objects at each location. used for scrolling routine and to check that there are never more than 5 objects (6 if crewmen are following) at any location. IT(........Array holds location of object at current time. It can be equal to the room number where the object is, -1, which means that the player has it in his possession, or 0, which means the object either has not been recovered, or has been used or destroyed, like the smelling salts after waking the crewmen. J..........General counting variable. J(.........Open/close status for bulkheads, hatches, and lockers. If J(I)=0 the object is closed, and J(I)=1 the object is open. J0.........Food status. If J0=0 then food frozen, if J0=1 then food cooked. J1.........Depth of submarine in fathoms. J2.........Ballast status. If J2=0 then ballast set for dive, if J2=1 then ballast set for surface. J3.........Counting variable. J4.........Radio Status. If J4=0 then radio is broken but can be repaired. If J4=1 then radio is working. If J4=2 then radio is broken beyond repair. J5.........Reactor status. If J5=0 then reactor is running hit. If J5=1 then reactor is running cool. J7.........Drive Train status. If J7=0 train is broken. If J7=1 then train is fixed. J8.........Counting Variable for # of correct numbers when opening safe. JC.........Crewmen status. If JC=0 then crewmen not following. If JC=1 then crewmen are following. JD.........Decoder status. If JD=0then decoder not plugged into radio. If JD=1 then decoder plugged into radio. JF.........Film status. If JF=0 then player has not seen film. If JF=1 then player has seen film. JH.........Object status. If JH=1 then object is at present location. If JH=2 then object is not at present location, or is not a valid object. JL.........Light status. If JL=0 then lights are on. If JL=1 then lights are off. JP.........Tape status. If JP=0 then tape not in player. If JP=1 then tape in player. JR.........Reading status. If JR=0 then player hasn't read manual. If JR=1 then player has read manual. JT.........Dinner Status. If JT=0 then Dinner not in stove. If JT=1 then dinner in stove. JU.........Uniform status. If JU=0 then player not wearing uniform. If JU=1 then player wearing uniform. JW.........Weight status.If JW=0 then player has not lifted weights. If JW=1 then player has lifted weights. JX.........Safe status. If JX=0 then the safe is closed. If JX=1 then safe is opened. JY.........Chapter number when reading book. JZ.........Outfit status. If JZ=0 then player is not wearing outfit. If JZ=1 then player is wearing outfit. L..........Present location of player. L1.........Location used in scrolling routine. L1 is the location of player on the last turn. LO(........Array holds the room number player will go if he goes in the specified direction. The format is LO(room number,room if FORE,room if AFt,room if PORT,room if STARBOARD,room if UP,room if DOWN). If the number is 0, then no movement is allowed in that direction. LO$(.......Array holds room description. O1$(.......Array holds full description of object. OB$(.......Array holds abbreviated code for each object. NR$........String holds the character sequence for normal model 100 video. RA.........Address of random seed. RN.........A random number returned by the routine. RN$........Temporary storage for contents of random seed. RV$........String holds the character sequence for reverse video on the model 100. printing this will put the model 100 in reverse video mode. SF$(.......Array holds safe combination in the form: R XX, L XX, R XX, where XX is an integer between 1 and 60. T..........Number of turns player as taken. T1.........Number of turns player has until Russian weapon hits submarine. VE$........String used as verb from player input. Holds first 3 letters of player's command.