|
3) If an ODD-NUMBERED line works out to exactly 40 characters so that there is no room for an area at the end, then the next EVEN-NUMBERED line must Begin with an area. The answer is to spread the extra spaces out along your entire line in order that there isn't greater than a single house at the end of the road. INITIALIZE Game OBJECT ARRAY
795 Declares and defines initobjs with no arguments
796 BLOCK Start - initobjs, intializes the thing array
797 Declares a local object pointer
798 Declares a local integer
799 Blank
800 Sets the top object successor to the underside (empty list)
801 Sets the underside object predecessor to the top
802 Places the highest object at the left finish of the world
803 Places the top object at the proper end of the world
804 Blank
805 NULLs out our used checklist utility pointers (checklist is empty)
806 Sets the free object pointer to the global object record
807 Blank
808 BLOCK Start - Loops on all attainable objects
809 Sets object successor level to the subsequent doable object
810 Sets the index counter and increments to next object
811 BLOCK End - Loop on all possible objects
812 Blank
813 Remove the last objects successor that was set above. |
|