Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 07:02 14 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Reserved Words

Author Message
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 947
Posted: 12:10am 14 Apr 2015
Copy link to clipboard 
Print this post

Hi to all!

The second SPI example in the Micromite Manual doesn't work with "data" as variable-name. It seems that "data" is a name that is used within the interpreter...
The example works perfectly after changing "data" to another name.

Does a list exists with reserved words like "data"??? - it would be very useful...

Thanks!

Frank
 
twofingers

Guru

Joined: 02/06/2014
Location: Germany
Posts: 1576
Posted: 12:39am 14 Apr 2015
Copy link to clipboard 
Print this post

Hi Frank!

I recently had the same problem!

DATA is for READ/DATA, as you certainly knows.

Regards
Michael
causality ≠ correlation ≠ coincidence
 
Justplayin

Guru

Joined: 31/01/2014
Location: United States
Posts: 327
Posted: 06:03am 14 Apr 2015
Copy link to clipboard 
Print this post

This is is not meant as a wise crack answer, but the Geoff's Maximite and Micromite manuals are and excellent source for that information. All the commands, functions and predefined variables are nicely listed.

--Curtis


I am not a Mad Scientist...  It makes me happy inventing new ways to take over the world!!
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6269
Posted: 03:03pm 14 Apr 2015
Copy link to clipboard 
Print this post

This is my list for the uM Mk2

  Quote   ABORT ABS ABS( AIN AND AS ASC ASC( ATN ATN( AUTOSAVE BASE BAUDRATE BIN BIN$ BIN$( BYTE CASE CFUNADDR CFUNCTION CHR CHR$ CHR$( CIN CINT CINT( CLEAR CLOCKTRIM CLOSE CMD CONST CONTINUE COS COS( CPU DATA DATE DATE$ DEFAULT DEG DEG( DHT22 DIM DIN DISTANCE DO DOUT DS18B20 DS18B20( ECHO EDIT ELSE ELSEIF END ENDIF EOF EOF( ERASE ERROR EXIT EXP EXP( EXPLICIT FC FIN FIX FIX( FLOAT FOR FUNCTION GETTIME GOSUB GOTO HEX HEX$ HEX$( I2C IF INIT INKEY INKEY$ INPUT INPUT$ INPUT$( INSTR INSTR( INT INT( INTB INTEGER INTH INTL INVERT IR IRETURN IS KEYPAD LCASE LCASE$ LCASE$( LCD LEFT LEFT$ LEFT$( LEN LEN( LENGTH LET LINE LIST LOC LOC( LOCAL LOF LOF( LOG LOG( LOOP MEMORY MID MID$ MID$( MM.DEVICE MM.DEVICE$ MM.I2C MM.ONEWIRE MM.VER MM.WATCHDOG MOD NEW NEXT NOECHO NOINVERT NONE NOT OC OCT OCT$ OCT$( OFF ON ONEWIRE OOUT OPEN OPTION OR PAUSE PEEK PEEK( PI PIN PIN( POKE PORT PORT( POS PRINT PROGMEM PROMPT PULLDOWN PULLUP PULSE PULSIN PWM RAD RAD( RANDOMIZE READ RECEIVE REM RESTORE RETURN RIGHT RIGHT$ RIGHT$( RND RND( RTC RUN SELECT SEND SERVO SETPIN SETTICK SETTIME SGN SGN( SIN SIN( SLAVE SLEEP SPACE SPACE$ SPACE$( SPC SPC( SPI SPI( SQR SQR( STEP STOP STR STR$ STR$( STRING STRING$ STRING$( SUB TAB TAB( TAN TAN( THEN TIME TIME$ TIMER TO TROFF TRON UCASE UCASE$ UCASE$( UNTIL VAL VAL( VAR VARADDR VARTBL WATCHDOG WEND WHILE WORD WRITE XMODEM XOR


You will notice that words with $ and or ( are duplicated.
This list and ones for uMMk1 and Maximite V4.5 come with MMEdit.

There are certain to be a few errors and omissions.

Jim

VK7JH
MMedit
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 947
Posted: 08:47pm 14 Apr 2015
Copy link to clipboard 
Print this post

Hi Jim,

thanks a lot! Your list is very helpful!!! Now I can see with a short view if a word is reserved or not!

Thanks again! This list would be a great help as appendix in the manual...

Frank
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025