home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / enterprs / c64 / games / byndwolf.sfx (.txt) < prev    next >
Encoding:
GEOS ConVerT  |  1993-03-25  |  11.1 KB  |  292 lines

  1. GB_DOCS
  2. SEQ formatted GEOS file V1.0
  3. NX-1000C 2 Pass
  4. DUAL TOP
  5. BLASTER'S CONVERTER V2.1
  6. LW_Barrows
  7. NX-1000C 2 Pass
  8. Write Image V2.0
  9. geoWrite    V2.1
  10. .To print correctly, you must use LW_ROMA and LW_BARROWS!!! -ALS
  11. geoBasic Reference Guide
  12. A scaled-down version of the
  13. @geoBasic Programming Manual
  14. by ALS
  15.  ming Manual
  16. by ALS
  17.       
  18. @geoBasic
  19. The BASIC programming language for GEOS C-64/128 users.
  20. geoBasic software (c) 1990 Berkeley Softworks.
  21. Portions of the geoBasic manual (c) 1990 Berkeley Softworks.
  22. Changes and enhancements to the manual (c) 1990 
  23.   Magazine.
  24. geoBasic and GEOS are trademarks of Berkeley Softworks.
  25. IDG Communications/Petersborough, Inc. has licensed geoBasic from Berkeley Softworks. 
  26. geoBasic runs in C-64 mode (40 cols) on the C-64/128.
  27. This manual and software are copyrighted with all rights reserved. No part of this manual or software may be copied, reproduced or translated without the prior written consent of 
  28.    or Berkeley Softworks. In other words, you have absolutely no idea where you got this! :)
  29. * Foreword : This mini-manual assumes knowledge of GEOS and the GEOS interface. All terms used in this mini-manual can be found in the GEOS User's Guide, which accompanied your GEOS system...
  30.                                                                                                
  31. @The geoBasic Editor
  32. Text and Entry Modes
  33.     The first screen you see when you start geoBasic is the editor text screen.The flashing box is the cursor, and whatever you type is placed on the screen at the cursor's position. Once you have finished a line of BASIC text, press [RETURN] to enter it. There are two modes of text entry : overstrike and insert. When you are in insert mode, the cursor will become a solid block to indicate the change in mode. The maximum size of one line of geoBasic commands is 240 characters (6 lines) as opposed to BASIC V2.0's 80 characters (2 lines).
  34. Moving Around the Keyboard
  35.     [SHIFT] + [INST/DEL] : Toggle Insert/Overwrite Mode
  36.     Cursor Keys : Move around the editor screen
  37.     [HOME] : To move the cursor to the top left of the screen.
  38.     [DEL] : Erases the character preceding the cursor
  39.     [C=] + [DEL] : Erase the line the cursor is on.
  40.     [CTRL] + I : Tab
  41.     [SHIFT] + [HOME/CLR] : Clear the screen.
  42.     Mouse Click on Editor Screen : Move cursor to that position
  43. @The geoBasic Menus
  44.     geoBasic Info : Author's name and copyright information.
  45.     close : Saves your program to disk, returning you to the initial dialog box.
  46.     update : DO NOT USE! This command corrupts your geoBasic file!!! Use
  47.         RUN to save, then hit [RUN/STOP] to return to the editor.
  48.     rename : Rename your geoBasic file
  49.     print : Print a complete listing to the printer.
  50.     quit : Saves the current file, and return to the deskTop.
  51.     list : This item lists the current program on the screen. Use F5 to
  52.         start/stop/continue scrolling. To break, press [RUN/STOP]. This has
  53.         the same effect as typing LIST in the text window.
  54.     sprcol : Allows you to choose two sprite colors for each sprite.
  55. Options
  56.     run : Runs your program. It has the same effect as typing RUN in the edit
  57.         window.
  58.     renumber : Renumber your program.The number you enter will set the first
  59.         line number, and the increment between line numbers. Renumber
  60.         ignores line numbers following GOTO and GOSUB, so it's a good idea
  61.         to use labels for branching instead.
  62.     resize : Resize changes the heap size for your program.
  63.     make appl : The turns a geoBasic program into a stand-alone executable file.
  64.         Once created, the only way to edit it again is to use geoStripper to
  65.         recreate the geoBasic source code. NOTE : geoStripper will not create
  66.         geoBasic source code for NON-GEOBASIC applications.
  67. Utilities
  68.     menu : activate the Menu Editor
  69.     dialog : activate the Dialog Box Editor
  70.     icon : activate the Icon List Editor
  71.     bitmap : activates the Bitmap Editor
  72.     sprite : activate the Sprite Editor
  73. @Elements of geoBasic
  74. Line Numbers and Labels
  75.     Each line in a geoBasic program must begin with a line number.
  76.     Ex :    
  77. 10 PRINT "Hello There"
  78.         20 FOR X = 1 TO 10
  79.         25   PRINT X
  80.         30 NEXT X
  81.     Labels provide a way to give a name to a line. While it is still necessary to give a line number with a label, the line can then be referenced when using GOTO or GOSUB. Labels must be the first command of the line, immediately after the line numbe
  82. number itself. The label must be preceded by an "@" sign, and only the first six letters are significant. Labels are case-sensitive, @START is not the same as @Start. Labels may not be declared more than once. If you use a label more than once, a LABEL REDEFINED error will occur. Always delete the first occurence of a label before changing it's location. The total number of labels cannot exceed 127.
  83.     Ex :
  84.     10 @Start:PRINT "Hello"
  85.         20 FOR X = 1 TO 10
  86.         30   PRINT SIN (X)
  87.         40 NEXT X
  88.         50 GOTO @Start
  89. Variables
  90.     A variable name can be any length, but only the first three characters are significant.
  91. @geoBasic Commands
  92. Terminology
  93. ARGUMENTS, also called parameters, can include filenames, variables, line
  94.         numbers, expressions and math operations.
  95.     SQUARE BRACKETS [ ] show arguments which are optional. You may select
  96.         any (or none) of the arguments shown.
  97.     ANGLE BRACKETS <> indicate that you MUST choose one of the arguments
  98.         shown.
  99.     A VERTICAL BAR | separates items in a list of arguments.
  100.     ELLIPSIS ... A sequence of three dots means an argument may be repeated
  101.         more than once.
  102.     QUOTATION MARKS "" surround character strings, filenames, and types of
  103.         arguments. When an argument is enclosed in quotation marks,
  104.         quotation marks must be included in the command.
  105.     PARENTHESES () When arguments are enclosed in parentheses, the
  106.         parentheses must be include
  107.     PARENTHESES () When arguments are enclosed in parentheses, the
  108.         parentheses must be included in the command.
  109.     VARIABLE refers to any variable BASIC name (Y, Z$, Q%, etc.)
  110.     EXPR refers to any valid numeric expression, such as R*(4/T), etc.
  111.     STRING refers to any string constant, variable, or expression.
  112. Command Reference
  113. FORMAT : 
  114. ABS (<expr>)
  115. This function returns the absolute value of an expression.
  116.     Ex :    
  117. 10 X=-2:Y=3
  118.         20 PRINT X, ABS (X), Y, ABS (Y)
  119.     would print -2, 2, 3, 3
  120.     FORMAT : <expr> AND <expr>
  121.     The AND operator has two functions. As a BOOLEAN operator, and to test
  122.     the truth of two expressions.
  123.     Ex:    
  124. 10 X=9 AND 7:PRINT X
  125.         20 IF X=1 AND X<10 THEN PRINT "TRUE"
  126.     This would print 1, TRUE. In binary  :
  127.         9 : 1001 AND
  128. 7 : 0111
  129.         1 : 0001
  130.     When a statement evaluates to FALSE, a 0 is assigned to the result, and if the
  131.     statement evaluates to TRUE, the value of -1 is assigned to the result. Your
  132.     program can determine the numerical value that the expression evaluates to by
  133.     equating the expression to a variable :
  134.     Ex.    10 X=10:Y=20
  135.         20 RES1=(X=20)
  136.         30 RES2=(X=10) AND (Y=20)
  137. ses, the
  138.         parentheses mus
  139.     Ex.    
  140. 10 X=10:Y=20
  141.         20 RES1=(X=20)
  142.         30 RES2=(X=10) AND (Y=20)
  143. APPEND
  144. BITMAP
  145. BUTTON
  146. CHKPT
  147. COLRECT
  148. DBFILE
  149. DBSTRN
  150. DEF FN
  151. DELETE
  152. DELPROC
  153. DIALOG
  154. DPEEK
  155. DPOKE
  156. DREAD
  157. EOF (0)
  158. FOR...TO...[STEP]...NEXT
  159. GOSUB/RETURN
  160. 20 RES1=(X=20)
  161.         30 RES2=(X=10) AND (Y=20)
  162. APPEND
  163. BITMAP
  164. BUTTON
  165. CLOSE
  166. COLRECT
  167. CREATE
  168. DBFILE
  169. DBSTRN
  170. DEF FN
  171. FRECT
  172. GOSUB/RETURN
  173. IF...THEN...
  174. INPUT
  175. INVRECT
  176. LEFT$
  177. MAINLOOP
  178. MOUSE
  179. MOUSEIN
  180. MOUSEX
  181. MOUSEY
  182. NEWPAGE
  183. ONERR
  184. PATTERN
  185. POINT
  186. PRASCII
  187. PRINT
  188. PRNTER
  189. PROCESS
  190. PROMPT
  191. PRSCREEN
  192. PTREC
  193. RDBYTE
  194. REDRAW
  195. REPEAT..UNTIL
  196. RESTORE
  197. RIGHT$
  198. SETCOL
  199. SETPOS
  200. SOUND
  201. SPRCOL
  202. SPRITE
  203. SYSINFO
  204. EOF (
  205. DBFILE
  206. DBSTRN
  207. DEF FN
  208. PRNTER
  209. PROCESS
  210. PROMPT
  211. PRSCREEN
  212. REDRAW
  213. REPEAT..UNTIL
  214. RESTORE
  215. RIGHT$
  216. SETCOL
  217. SETPOS
  218. SOUND
  219. SPRCOL
  220. SPRITE
  221. SYSINFO
  222. VOICE
  223. WHILE...LOOP
  224. WINDOW
  225. WRITE
  226. PTREC
  227. RDBYTE
  228. REDRAW
  229. REPEAT..UNTIL
  230. RESTORE
  231. RIGHT$
  232. SETCOL
  233. SETPOS
  234. SOUND
  235. SPRCOL
  236. SPRITE
  237. SYSINFO
  238. DBFILE
  239. DBSTRN
  240. DEF FN
  241. @Disk and File Programming Commands
  242. CREATE
  243. CLOSE
  244. HEADER
  245. PTREC
  246. APPEND
  247. INSERT
  248. DREAD
  249. RDBYTE
  250. WRITE
  251. EOF (0)
  252. @The geo
  253. @The geoBasic Utility Programs
  254. The Menu Editor
  255. The Bitmap Utility
  256. Dialog Box Editor
  257. Icon List Utility
  258. Sprite Editor
  259. @The geoBasic Debugger
  260. Expressions/Breakpoints
  261. Debug Modes
  262. Errors
  263. The Menu Editor
  264. PEAT..UNTIL
  265. RESTORE
  266. RIGHT$
  267. SETCOL
  268. SETPOS
  269. SOUND
  270. SPRCOL
  271. SPRITE
  272. SYSINFO
  273. DBFILE
  274. DBSTRN
  275. DEF FN
  276. geoBasic Reference Guide - ALS
  277.      
  278.      
  279.      
  280.      
  281.      
  282.      
  283.      
  284.      
  285.      
  286.      
  287.      
  288.      
  289.       
  290. Erase the disk in drive 
  291.                                                                                                
  292.