--
Jay Miller
Temtronic Designs Inc.
http://home.cogeco.ca/~temtronic/homepage.htm
> Ok, I've got a 'new' 102 here,up and running I've set maxfiles=5, yet I
> can
> only save one program. when I try to save a slightly modified
> version,differnt filename I get the '?FC error' message.
> Google didn't seem 'friendly' . What's the cure to saving several
> programs.
> I don't have a 'Basic ' programmers book,but have a list of commands.
> Thanks to all who reply.
Perhaps a little more info on what you're attempting to do... saving to
tape? in RAM? how much RAM does your 102 have? how big is the Basic program
you're working on?
An FC error pops up due to an illegal function call. To save/load programs
the MAXFILES statement should not affect this operation, this statement is
used to set the maximum amount of files to keep open when your reading and
writing data into several files with a Basic program. The default of
MAXFILES is 1.
-=[ Rogelio ]=-
j.b. miller wrote:
--
That's the thing about people who think they hate computers. What they
really hate is lousy programmers.
-- Larry Niven (1938-Present)
jay
To minimise memory usage, the M10x machines do a few tricks. When you edit a
Basic program, all or part of it is copied to the edit buffer. When you are
done editing it, it is copied back to the basic program area and
re-tokenized. While it is not impossible to have two copies with different
names, it takes some planning. You cannot save from the edit buffer while
editing, IIRC.
N
I've just bought my first Model 102 and I know exactly what you're
meaning... and how to overcome it.
1. Load in your Basic program. Eg LOAD "TEST
2. Save under different name, but using Ascii eg SAVE "TEST1",A
You'll note on the Basic menu TEST1 will appear as TEST1.DO
To later load the Ascii version while in Basic use LOAD "TEST1
This will retokenise the Ascii file as it loads into Basic
Philip Avery
.
j.b. miller <invalid...@cogeco.ca> wrote in message
news:G7WZd.10681$RM2....@read1.cgocable.net...
Hmm..great minds think alike ! I've just done the same 'quirky' thing and it
works up here as well....You'ld think after 30 years I would have remembered
the 'little' things.......
Now to tear into the second 102 and get it working ! Simple HARDWARE
problem,easy fix, though my eyes aren't what they were 30 years ago either
!!!
Jay
"j.b. miller" <invalid...@cogeco.ca> wrote
> My 102 has 24K onboard. I'd like to have 2 copies of any program in RAM.
The
> old version, and a newer 'test' version. Seems this machine won't allow to
> do that. Ie. when you edit in basic,it automatically saves it in ram,but
> then I've lost the old version.....So how do I have a 'backup' to retrieve
> when the 'new,editted' one fails
With a classic computer, when you are editing, you already have two versions
of the program: one in memory, and one on disk/cassette. The one on disk is
only trashed when you save the one in memory over it. Not so with a model T.
The Tandy 100/102/200 is working quite different from other computers. You
are always working on, or in the file you are editing. Because you only have
RAM for storage AND editing, that's where you work. So no second version.
You stop editing, and that's where your program is. No saving needed, even.
When you type or push SAVE on a model T, you are instructing it to save it
into RAM, but when you type SAVE"... it expects something else: another
media, or another format. So, the way to have a second copy of your program,
is to save it as text: SAVE"PROGNM.DO",A to save it as a document in ASCII.
> The last time I used the 102 was back in 84 when I sold them....
Want to know more, ask me. I'm using mu model T regularly.
> Thanks for any help
> Jay
Greetings from the TyRannoSaurus
Jan-80