Home Gadgetman Forum Book Reviews Links Contact me X-UFO
Gadgets Processors Programming School Old news

Sharp PC-1248

OverviewBasic
There are no pictures available for this page. Maybe later?

This machine has a 'classic' Basic interpreter. That means line-numers and all that. Of course, since it's a Pocket Computer there are a few differences from a standard Basic.

But first, a few tips about usage:

But now, the list of commands...
(R/P = Command is only used directly in either RUN or PROG mode. L= Used in an Program.)
Commands listed on the keyboard.
CommandModeExplanation
LISTPUsage:
LIST XXX
Moves to line nr. XXX in the listing.
RUNRStarts execution of the program. Can also be used as:
RUN XXX
Where XXX is the line nr. you want to start on.
ENDLStops execution of the program.
DIM
CLOAD
CSAVE
INPUT
IF
THEN
L
GOTOL/RJumps to the specified line-nr. Can also be used to start a program.
GOSUB
RETURN
FOR
TO
STEP
NEXT
L
PRINT
USING
L
Commands not listed on the keyboard
MEMR/P/LReturns the amount of FREE RAM. Can be used in formulas. (like B=MEM )
CLEARR/PClears ALL variables.
Of course, since Programming is the art of stacking errors together, there are error messages too...
They are in this format:
ERROR X [IN YYY]
Where X is the error number and the optional YYY is the linenumber.
1
2
3
4
5
6
7
8
9

Got any comments? Write them here:

Name:
Email address:
Display email address?
Website:
Comment:
Note:
  • Comments will not be visible until I manually OK them.
  • You don't need to give an email address if you don't want to. But if you do, you decide whether or not it is visible. (No addresses will be given to third-parties, it's only there to make it easier for me to get back to you)
  • This script WILL log your IP adress.
  • Profanities, 'L337' speak, links to unrelated stuff like Pr0n and online gambling will result in your IP being banned, a message being sent to your ISP and anything else nasty I can think of...
  • Suspicious HTML in the comments field will also cause me to give you hell.
  • While I don't have any user registration here, that's no reason to use a 'nick' belonging to someone else.