Bernard Babani, the budget book barons equivalent to money-minimal Mastertronic, have released a steady stream of low-cost titles over the years Many have been computer-specific Basic & Logo is relevant to most 8-bit micros with a built in Basic. Although the book takes BBC-Basic as standard, most of the example listings work on the CPC with little or no modification. The version of Logo discussed is the DR Logo that comes with all disk-based Amstrad computers. Within his book. Wainwright attempts to sway the popular belief that Logo is purely a powerful graphics programming language, used for controlling "turtles" in schools. By examining Basic and Logo in parallel the author demonstrates Logo's extensive arithmetic and list-processing capabilities. Logo and Basic can be used in direct or immediate mode, that is, commands can be entered directly without the need for the instructions to be part of a larger program. Wainwright points out that they are ideally suited for performing simple calculations. Although Logo hasn't as many in-built arithmetic operators as Basic, it is an expandable program which means things like div and mod can be added to its vocabulary. The method for implementing graphics, programs and procedures, conditional loops, arrays and many other topics is covered adequately for both languages The closing chapter of the book has a listing of a Logo graphics interpreter; this is possibly the only section that won't be of any use to you as Logo comes bundled with disk machines. Apart from a few BBC-Basic quirks to contend with - repeat until loops, for instance, which can easily be modified to while wend loops (as long as you remember that the condition in a repeat until loop is specified by until and in a while wend loop by wend) - you should find Basic and Logo relatively straightforward. The book contains interesting subject matter, plenty of practical examples and at £2.95 represents tremendous value for money. AA
| ★ AMSTRAD CPC ★ A voir aussi sur CPCrulez , les sujets suivants pourront vous intéresser... |
|
|