Home
Maximite Basic Quick Reference V2.7
Contents
1. imi TEY 10E I2CSSEND sendlen data data T2CSRCV revlen rcvbuf rcvd NUM2BYTE number varl var2 var3 var4 NUM2BYTE number array x Keyboard INIPUM Momo Sicieiiag 9 LINE INPUT prompt string Miscellaneous COPYRIGHT DATES DD MM YY or DD MM YY ERROR error msg MEMORY OPTION BASE 0 1 OPTION ERROR ABORT OPTION Fnn str OPTION PROMPT str OPTION USB ON OFF lt statements gt WEND CONTINUE Maximite MMBasic V2 7b Quick Reference Commands Statements Functions OPTION VIDEO ON OFF POKE hiword loword val RANDOMIZE nbr REM string Comment RUN line file NEW SETTICK period line TIMES HH MM SS TIMER msec TROFF TRON Screen iS CURCIS x VW e pe yell FONT nbr scale reverse FONT LOAD file AS nbr FONT UNLOAD nbr Lina Gil E LOCATE x y PIXEL x y PRINT expression expression PRESET x y or PSEP xr y Serial I O CLOSE CONSOLE OPEN COMSPEC as CONSOLE XMODEM SEND files XMODEM RECEIVE files Sound PWM SOUND frequency duration SOUND frequency duration dutycycle Date Time Timer DATES TI ES TIMER File System CWDS EOF nbr INPUTS nbr fnbr I2C BYTE2NUM array x BYTE2NUM argl arg2 arg3 arg4 I O LOC nbr LOF nbr x2 y2 c B F Functions Info PENS osm SIP zrn wx Clk I cerce Si
2. ELETE lastline ELETE firstline lastline DIT line number extended editing mode Lise increment leal tS IS is line LIST lastline DISIE GEsliesyedlsiine l lastilina RENUMBER first incr start External Pins PIN pin value DIBEIUN joi Cie TRPIN pim Giap ile System HDIR dirs LOSE nbr nbr OSE CONSOLE RIVE drives ILES search pattern INPUT nbr list of variables KILL files LINE INPUT nbr LOAD files MERGE file MKDIR dir NAME old AS newS OPEN fnameS FOR mode AS OPEN comspec AS fnbr or PRINT nbr expression lexpression RMDIR dir SAVE files SAVEBMP files WRITE Habe line ay Be ECLOLore string variable fnbr Sspeegetes s2pssssies V2 7b 1 0 crackerjack 11 2011 Commands Statements Flow Control CONTINUE DO lt statements gt LOOP DO WHILE expression lt statements gt LOOP DO lt statements gt LOOP UNTIL expression ELSE ELSEIF expression THEN ENDIF END EXIT EXIT HOR FOR count start TO end STEP inc GOSUB GOTO IF expression THEN IRETURN INES Cowling vesili corme Wee ooo ON variable GOTO GOSUB line line PAUSE nbr RETURN ABLE ess I2C I2CHN speed timeout pine Lime IZ2CDIES T2CSDIS T2CSENDRa ddr epo len da cad daa I2CRCV addr hold rcvlen rcvbuf sendlen data data AC SHIN acer mesk Opie Sene
3. Literals Variables Operators Codes NOOB WD Literals Strings are contained in double quotes Numbers may be decimal or represented as amp Hnn Hex Literal e g amp H3C 60 amp Bnn Binary Literal e g amp B00100011 35 n nE n Scientific e g 1 6E 4 16000 System Variables MM HRES Horizontal Screen Resolution MM VRES Vertical Screen Resolution MM VER Firmware Version MM DRIVES Current Default Drive MM FNAMES Current Default File MM ERRNO Last Error Code MM 12C Last 12C Result Code User Variables Variable names start with an alpha character or underscore and can contain any alpha or numeric character period and underscore _ maximum length is 32 characters String variable names are terminated with a symbol Number variable names are not terminated with a symbol Arithmetic ee ek ol Exponent Multiply Divide MOD Modulus remain Integer Divide Add String Concat Subtract Logical NOT Logical inverse g gt Equality Inequality 2 lt Greater Than Less Than lt or lt Less Than Equal To Greater Than Equal To Conjunction Disjunction Exclusive OR 2 Of gt AND OR XOR Error 0 Noerror No SD card found SD card is write protected Not enough space All root directory entries are taken Invalid filename File does not exist Directory does not exist Maximite MMBasic V2 7b Quick Reference Codes 8 File is read only 9 Cannot open file 10 Error r
4. eading from file 11 Error writing to file 12 Not a file 13 Not a directory 15 Directory not empty Hardware error File Open Mode INPUT Read Only OUTPUT Write Overwrite if exists APPEND Write Append if exists Format String flags width prec type flags Left justify 0 Use 0 for the pad char not space A plus sign is shown for positive values space Space as sign unless negative width min chars to output less causes padding more causes expansion no of fraction digits for e or f type or the max no of significant digits for g type Precede by a dot if used g format for the best presentation f format with decimal point and digits e Format in exponential format G exponential output with uppercase E F exponential output with uppercase E If format specification not specified g is assumed I2C 0 No error 1 Received NACK response 2 Command timed out 4 Received general call addr slave mode Pin Config None Analog In Pins 1 10 Digital In Pins 1 10 3 3v Pins 11 20 5v Frequency In Pins 11 14 Period In Pins 11 14 Count In Pins 11 14 Interrupt LOW HIGH Pins 1 20 Interrupt HIGH LOW Pins 1 20 Digital Out Pins 1 20 Open Collector In Pins 11 20 prec type OANDABRWNM O Commands Statements Assignment CLEAR DATA DIM variable elements ERASE variable ET variable READ variable variable RESTORE Editor AUTORS tartian ELETE line
5. xeexcl T Math Number ABS nbr ATN nbr CENTERET COS nbr EXP nbr FIX nbr HEXS nbr TN nbc LOG nbr CCT ENEE RND nbr SGN nbr SIN nbr SOR nbr STR INDE TAN nbr Memory PEEK hiword loword Screen POS PIXEL x y String Character ASC ewe CHRS nbr FORMATS nbr format INSTR start searchs IIIS Stews moe LEN str LCASES str MINDS Gers steaicte ile RIGS arrer oe SPACES nbr SIC aloe STRINGS nbr TAB nbr UCASE Sea sess VAL str INKEYS patterns val str MMBasic is Copyright 2011 by Geoff Graham For the full Maximite User Manual and more go to http geoffg net maximite html V2 7b 1 0 crackerjack 11 2011
Download Pdf Manuals
Related Search
Related Contents
Mod_RSN_mar03 - RCAEROMODELLISMO DAB/FM Stereo Tuner DeLOCK Card Reader IDE 44pin male to Compact Flash freezer/congelador instruction manual/manual de instrucciones Source for: Quality New and Certified-Used/Pre: Copyright © All rights reserved.
Failed to retrieve file