What are the most commonly used BASIC commands?

Todo sobre la creación, diseño y programación de nuevo software para
nuestro Spectrum

Moderador: Sir Cilve Sinclair

Responder
Avatar de Usuario
cheveron
Manic Miner
Mensajes: 278
Registrado: Lun Jun 28, 2010 6:14 pm
Ubicación: Londres
Contactar:

What are the most commonly used BASIC commands?

Mensaje por cheveron » Vie Mar 28, 2014 6:05 pm

I'm working on the extended keyboard layout for the Chloe 280SE which will map 16 commands to the function keys (f0 to f15). I'd like to know which commands you think I should map. The cluster above the cursors already includes LOAD, CODE, RUN, SAVE, DATA, and STOP.

Keep in mind that the firmware is SE Basic IV so it also includes the following commands:
CALL, CLUT, COLOR, DELETE, EDIT, MODE, ON ERROR, PALETTE, PUT, RENUM, RESET, SOUND, SPEED, SCROLL, TRACE, UDG

But it doesn't have these commands:
CAT, FORMAT, MOVE, ERASE, VERIFY, FLASH, BRIGHT, LPRINT, LLIST, COPY

I'm looked at the MSX BASIC shortcuts as a starting point and came up with the following clusters:

F0:EDIT

F1:LIST F2:RENUM F3:FOR F4:NEXT

F5:CONTINUE F6:GOTO F7:GOSUB F8:TRACE

F9:UDG F10:MODE F11:ON ERROR F12:DELETE

F13:SCREEN$ F14:SCROLL F15:PAUSE

What do you think?
«Dime con quién andas, y te diré quién eres» — Cervantes

muzaraque
Jack The Nipper
Mensajes: 129
Registrado: Sab Ago 04, 2012 3:28 pm

Re: What are the most commonly used BASIC commands?

Mensaje por muzaraque » Lun Abr 28, 2014 9:20 pm

The most common BASIC command is REM
I do not know any BASIC variant that does not include it.

Avatar de Usuario
radastan
Phantomas
Mensajes: 2210
Registrado: Lun May 07, 2007 5:34 pm
Contactar:

Re: What are the most commonly used BASIC commands?

Mensaje por radastan » Mar Abr 29, 2014 8:30 am

muzaraque escribió:The most common BASIC command is REM
I do not know any BASIC variant that does not include it.


He ask for most commonly "USED".

The most used BASIC command is "=".
_________________________________________
Hay otras páginas.... pero no son Bytemaniacos
http://www.bytemaniacos.com
Orgullo de 8 bits
_________________________________________

muzaraque
Jack The Nipper
Mensajes: 129
Registrado: Sab Ago 04, 2012 3:28 pm

Re: What are the most commonly used BASIC commands?

Mensaje por muzaraque » Mar Abr 29, 2014 11:56 am

radastan escribió:
muzaraque escribió:The most common BASIC command is REM
I do not know any BASIC variant that does not include it.


He ask for most commonly "USED".

The most used BASIC command is "=".


BASIC programmers do not include comments?

Avatar de Usuario
Zardoz
Herbert
Mensajes: 62
Registrado: Dom Nov 22, 2009 8:44 am
Ubicación: Madrid
Contactar:

Re: What are the most commonly used BASIC commands?

Mensaje por Zardoz » Mar Abr 29, 2014 1:45 pm

He is asking what BASIC commands are more frequently in any typical program. Probably = is more frequent that REM

Enviado desde el TapaTalk
Me temo que tengo blog : http://zardoz.es

Avatar de Usuario
radastan
Phantomas
Mensajes: 2210
Registrado: Lun May 07, 2007 5:34 pm
Contactar:

Re: What are the most commonly used BASIC commands?

Mensaje por radastan » Mar Abr 29, 2014 2:03 pm

muzaraque escribió:BASIC programmers do not include comments?


Barely. :lol:
_________________________________________
Hay otras páginas.... pero no son Bytemaniacos
http://www.bytemaniacos.com
Orgullo de 8 bits
_________________________________________

Responder

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 2 invitados