|
The current version works with BBC Basic for Windows. See Links for where to obtain this
LEARN BASIC Programming in Basic has several uses. Quite apart from the fact that it is fun, it is the basis of programming in Microsoft Word, Microsoft Access and Visual Basic.
The CD contains 5 directories:-
- 1. Segments (over 50 partly done programs to finish, or correct)
- 2. Book (99 pages including answers with explanations)
- 3. Answers (110 answers)
- 4. Files (21 prepared files for use in the programs)
- 5. Library (22 programs)
These include five Alphabetic and Numeric sorts which can be added to your own programs.
- Coding and decoding programs for sending and receiving coded messages.
- NIM (a number game)
- Bearings (Guess, or calculate, a ship's bearing in order to sink it)
- BigSums allows floating point arithmetic of very large numbers.
- e.g. 123456789999 divided by 0.000000017 equals 7262164117588235294.11764705882352941176
- The Chinese Emperor and chess (in the Answers directory)
- Mayan Long Count
- PrintNumber print a large number as it would be spoken (up to 1 vigintillion)
- Birthday (In the Answers directory) Change any day of the year to the Mayan equivalent
- e.g. June 21 converts to CHEN 12 - with Mayan graphic of the month
- Snowfall is a simple scene with snow that slowly settles.
BioRhythms Starting from birth our physical, emotional and intellectual powers all pass through a definite pattern of highs and lows. These variations alter every 23, or 28 or 33 days. BioRhythms will print a one month graph showing your current position in the cycle.
Another example of Big Sums:- 63!=63*62*61*......*3*2*1 (Answer [using BigSums] below)
1982608315404440064116146708361898137544773690227268628106279599612729753600000000000000
BBC Basic for Windows comes with a 99 page manual
and a 19 page explanation of keywords.
Both manuals are Word documents.
Extra that comes with the package
1. GraphPlot will plot Cartesian and Polar curves. Fixed scale or Auto scale axes. Plots BOTH halves of square root curves. Discards areas where the curve is not defined, without error messages, Just draws the parts which are defined. Shade regions. Change colours. Zoom (in or out) * calls. Solve for roots.
Comes with user manual and demonstrations.
2. Disc Cataloguer Catalogues any disc, or folder, with, or without, all sub folders. If the same disc, or folder, is catalogued again later on then changes will be automatically registered on the catalogue. i.e. if more files have been added to the disc then they will be added to the catalogue if some files have been deleted from the disc then they will be deleted from the catalogue files that were there before will not be touched. Number of records held in the catalogue file is limited only by your hard disc memory. View, or print any disc, folder, file or extension on the catalogue. Fuzzy, or non fuzzy, searches for filenames Comes with user manual
3. Digital Control Procedures are supplied for driving the Minilab 1008 user port device. This is available from www.adeptscience.co.uk and supplies a total of 28 I/O lines plus analogue and timer functions.
This package deals only with the I/O lines and supplies procedures for controlling them. These procedures can be incorporated into your own programs.
Artwork for 11 different boards is included:-
1. Traffic lights 2. 8 LEDs 3. Circular LEDs 4. 16 LEDs 5. 3 digit up/down counter 6. 7 segment LED 7. Motor control 8. Switches and LEDs 9. 10 bit card reader 10. Twin dice 11. Minilab to BBC board (below) This board is professionally made but it is very easy to make your own from the supplied artwork.
Simple home made board using the artwork below

Includes a user manual and software procedures for accessing all the ports in the above diagram e.g. PROC_BBCOut(value%).................places value% on the BBC Port variable%=FN_BBCIn....................reads the value on the BBC Port and places it in variable% PROC_PortOut("A",value%)..........places value% on PortA
All the supplied procedures can be loaded into your own programs NOTE MINILAB also allows analogue control, and timers, but that is not covered in this work.
Example topics in the BBC Basic document:-
|
Graphics Animation Encoding/Decoding messages (different methods) Sorting (5 different algorithms) Merging files to a new file Fixtures list String handling Validation Morse Code (turn keyboard typing to Morse) Searches Password (not a simple case) NIM (a number game) Dealing cards (including the whole pack) Program your way into, and out of, a MAZE
|
Anagram (word or complete sentence) Knight moves on chess board (visit every square) Overhead crane simulation (pick up, move, & drop loads) Raffle Change case (Upper to Lower or mixed) Binary chop (rapid search of alphabetic list) Use of logic Guide a moving ball around a course Lift-9 floors-take people to their requested floors Display a 24 hour clock in fast time How many Hours, Minutes and Seconds is 2087341 seconds Invoice for goods purchased from stock list and price list
|
The programs include:- Functions and procedures with/without parameters. Indirection, Offsets, Pointers
Straightforward problems that introduce computing and programming concepts Meet a few keywords and then learn how to use them before progressing to more keywords. Think CHR$ and DATA is absurdly easy? You could be wrong! Finally meet some tricky problems that will require some ingenuity - answers fully explained.
Keywords used ( This will vary slightly as some keywords are not available in earlier versions of BBC Basic )
|
ABS AND ASC ASC CASE..WHEN..ENDCASE CHR$ CIRCLE CIRCLEFILL CLG CLS CLOSE COLOUR COS DATA DEF FN DEF PROC..ENDPROC DIM DRAW END EOF# EOR EVAL FALSE FOR.TO..NEXT..STEP GCOL
|
GET GOSUB..RETURN GOTO IF..THEN..ELSE..ENDIF INKEY INPUT INPUT# INSTR INT LEFT$ LEN MID$ MOD MODE MOUSE X,Y,B MOVE NOT OPENIN OPENOUT OR OTHERWISE PI PLOT POINT PRINT
|
PRINT# PTR# RAD READ RECTANGLEFILL REM REPEAT..UNTIL RIGHT$ RND SIN SOUND STR$ STR$ STRING$ SWAP TAB TAB TIME TRUE..FALSE VAL VDU 23 VDU 28..VDU 26 VDU 5..VDU 4 WHILE..ENDWHILE
|
|