• Tiny BASIC 1
  • Tiny BASIC 2

Tiny BASIC

Minuscola operativo BASIC nel terminale mobile

ver 2.x viene rilasciato
https://play.google.com/store/apps/details?id=org.dyndns.vivi.TinyBASIC2

comando:
 '& Lt; LineNum & gt; & lt; dichiarazione & gt;': aggiungi linea
 '& Lt; LineNum & gt;': rimuovere linea & lt; lineNum & gt;
 'RUN': il programma run
 'NOVITA': programma chiaro
 'LIST': programma di stampa
 'RENUM': renumber programma
 'LOAD & lt; nomeFile & gt;': carico da & lt; nomeFile & gt;
 'SAVE & lt; nomefile & gt;': salvare & lt; nomefile & gt;
 'DIR': stampa la lista dei file salvati

dichiarazione:
 '& Lt; var & gt; = & lt; exp & gt;' assegnare & lt; exp & gt; a & lt; var & gt;
 'STAMPA {& lt; exp & gt; | & lt; stringa & gt;}': print & lt; exp & gt; o & lt; stringa & gt;
 'SE & lt; exp & gt; quindi {& lt; & gt dichiarazione; | & lt; lineNum & gt;}': se & lt; exp & gt; poi exec
 'PER & lt; var & gt; = & lt; exp1 & gt; alla & lt; exp2 & gt;': ciclo for
 'AVANTI': inc & lt; var & gt; e anello
 'GOTO & lt; lineNum & gt;': salto alla linea & lt; lineNum & gt;
 'GOSUB & lt; lineNum & gt;': chiamata subroutine
 'RITORNO': ritorno da subroutine
 'END'
 
espressione:
& Lt; exp & gt; :: = & lt; & gt termine; | & lt; termine & gt; & lt; op & gt; & lt; exp & gt;
& Lt; & gt termine; :: = [-] {& lt; & gt; cifre | & lt; var & gt; | (& lt; exp & gt;)}
& Lt; var & gt; :: = A | B | ... | Z | @ (& lt; exp & gt;)
& Lt; op & gt; :: = E | O | = | & lt; & gt; | & gt; | & gt; = | & lt; | & lt; = | + | - | * | / |%

Sito web: http://vivi.dyndns.org/games/TinyBASIC/

Categoria : Istruzione

Ricerche associate