Example: stock market

and, a whole lot of fun… - FUZE BASIC

Programmer s Reference Guideand, a whole lot of Mode CommandsArithmetic, Bitwise and Logical operatorsNumerical representationFunctions, Constants & ProceduresJoystick and Gamepad commandsKeycodes (scanKeyboard)Using the BBC micro:bitUsing the OWI USB Robot ArmPublished in the United Kingdom 2012 - 2017 FUZE Technologies Ltd. FUZE CODESTUDIO, FUZE BASIC , FUZE logos, designs, documentation and associated materials areCopyright FUZE Technologies Ltd. FUZE is a registered trademark [UK00002655290].No part of this document may be copied, reproduced and or distributed without writtenconsent from FUZE Technologies Ltd.

3 Contents Introduction Introduction & Welcome to FUZE BASIC This reference guide aims to provide a comprehensive and detailed explanation of …

Tags:

  Guide, Whole, A whole lot of

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of and, a whole lot of fun… - FUZE BASIC

1 Programmer s Reference Guideand, a whole lot of Mode CommandsArithmetic, Bitwise and Logical operatorsNumerical representationFunctions, Constants & ProceduresJoystick and Gamepad commandsKeycodes (scanKeyboard)Using the BBC micro:bitUsing the OWI USB Robot ArmPublished in the United Kingdom 2012 - 2017 FUZE Technologies Ltd. FUZE CODESTUDIO, FUZE BASIC , FUZE logos, designs, documentation and associated materials areCopyright FUZE Technologies Ltd. FUZE is a registered trademark [UK00002655290].No part of this document may be copied, reproduced and or distributed without writtenconsent from FUZE Technologies Ltd.

2 All rights reserved. The Arduino brand, Arduinologo and design of their boards are copyright of Arduino LLC. Any other brand names arethe copyright of their respective BASIC is developed by FUZE Technologies Ltd in the UK by;Jon Silvera - Project manager and author of this guideLuke Mulcahy - Lead programmerDavid Silvera - FUZE Product managerColin Bodley - Technical consultant & Documentation contributorAdditional information Version: Date: 10th May 2017 FUZE BASIC Version: s Reference GuideCODING & COMPUTING WORKSHOPSfor Schools, Academies, Colleges, Universities,Computing Clubs, Holiday Camps & Special contact FUZE call 01844 239 432(UK 09:30 am to 17.)

3 00 pm weekdays) or email & Welcome to FUZE BASICThis reference guide aims to provide a comprehensive and detailedexplanation of every command in the FUZE BASIC is an evolving document because FUZE BASIC is constantly beingupdated and improved. To download the latest version please visitthe resources section on BASIC is currently available for Microsoft Windows ,Raspberry Pi, The FUZE and FUZE BASICFor details on installing and getting started we highly recommend youbegin with the FUZE BASIC Project Worksheets which can bedownloaded for free from the FUZE used in this guide :There are many example programs listed in this manual.

4 The followingcolours are used to determine the different program construct types;- COMMANDS - STATEMENTS & FUNCTIONS- SYSTEM & FIXED VARIABLES- USER DEFINED VARIABLES- REM or commentsUsing FUZE BASIC with Arduino / Genuino, BBC micro:bitand the OWI USB Robot BASIC will only recognise an Arduino or BBC micro:bit deviceonce the driver software has been Arduino devices: Please visit the official Arduino website and download / install the latest BBC micro:bit devices: Please visit the official ARM mbedsite at download & install the you re using multiple devices then please see theDETECTDEVICE and SETDEVICE statements so you can easilyswitch between USB Robot Arm (Maplin): No driver is required for Linuxand Raspberry Pi based systems but if you are using FUZE BASICfor Windows then a driver is required.

5 Please see the FUZE BASIC website for more - your input is welcomedIf you spot any errors or think we could explain something better, oreven have alternative suggestions for examples then please submitthem to Please note however that this intendedto be a none technical guide - please keep submissions short, simpleand well thanks from teamFUZE4 ContentsImmediate mode CommandsImmediate mode commands are entered into FUZEBASIC s direct mode. For example try typing in;PRINT 10 + 20 + 30 and then press following system commands can be used inimmediate mode are explained in the mode is the start mode for FUZE BASICand depending which retro styled interface youhave selected will look something like this;Press the INS key to switch between them.

6 Thenpress F2 or type EDIT to switch to the code 64 Amstrad CPCBBC Model BAtari 8 BITA pple ][SinclairZX SpectrumPlease note:You do not need to learnimmediate modecommands to use BASIC . Infact you may never evenneed to use them. You cansimply jump straight to theeditor by pressing , SAVE , CHAIN, DIRP urposeChange the current directorySyntaxCD foldernameDescriptionChange the current folder to the one fuzebasicSwitch to the folder named fuzebasic. There must be a folder called fuzebasic in the current folder to.

7 Go back to the parent folder ( CD ../.. will go back two folders.)CD /Go back to root mode Commands6 ContentsAssociatedLOAD , SAVE , NEWP urposeLoad a program into memory and immediately filename$DescriptionLoads in a program from the local non-volatile with SAVE, you need to supply the filename withoutany quotes. Do not include the .fuze file , if your filename has spaces then you must enter itwithin quotation marks. CHAIN "my game" for program will start automatically as soon as it mode Commands7 ContentsAssociatedNEWP urposeClear variable all variables and deletes all arrays.

8 It also removesany active sprites from the screen. Stopped programsmay not be continued after a CLEAR mode Commands8 ContentsAssociatedPAPERP urposeClear the video display the video display screen and places the cursor inthe top left corner. The background is set to the currentbackground (PAPER) "Hello World"ENDI mmediate mode Commands9 ContentsAssociatedSTOPP urposeContinue running a program that has been program execution after a STOP are not mode Commands10 ContentsAssociatedLOAD , SAVEP urposeList FUZE BASIC program files in the current or [directory]DescriptionLists the program files in your current working directoryor the optional specified directory.

9 These will have file mode Commands11 ContentsPurposeEdit the program in the program in memory using a full screen mode Commands12 ContentsAssociatedPurposeHalt program executionSyntaxESCAPE (key press)DescriptionHalts the current program s execution and returns toimmediate mode. All variables remain intact so it ispossible to examine them for (key press)ExamplePress ESCAPE key when a program is mode Commands13 ContentsAssociatedPurposeExit FUZE BASIC and return to the FUZE BASIC and return to the environment youstarted it mode Commands14 ContentsAssociatedPurposeDisplay help commands in immediate modeSyntaxHELPD escriptionLists the full immediate mode command mode Commands15 ContentsAssociatedPurposeChanges the GUI skin in immediate modeSyntaxINSERT (key press)

10 DescriptionCycles through the various retro styled skins inimmediate mode. BBC Micro anyone?INSERT (key press)ExamplePress INSERT key in immediate mode to change mode Commands16 ContentsImmediate mode CommandsAssociatedPurposeTo display any connected joysticks and lists, by name, any attached joystick devicescurrently connected via USB or wireless USB, ifsupported by the a program into filename$DescriptionLoads in a program from the local non-volatile with SAVE, you need to supply the filename withoutany quotes.


Related search queries