Paolo,
as I wrote, STI converts text files from Sam to PC. Not vice versa.
In simple words: Only Sam ---> PC.
Bytes 10 and 13 are not present in Tasword, what is the default input
encoding. So that's why STI writes those error messages.
Also, I have to add one IMPORTANT note:
SAM BASIC USES SPECIAL FILE FORMAT, NOT JUST TEXT FILES!!!
If you want to write Basic program, use the Sam Basic. You can't write it in
a text file!!! That will never work without a special Basic
simulator/converter. Original Sam Basic uses format similar to ZX Spectrum
basic, including all numbers in binary format, line numbers in binary
format, tokenized commands/keywords (i.e. single byte per keyword), and
variables stored in binary form with the Basic program in a single file.
----------------------------------------------------------
Mgr.(MSc.) Ales Keprt (also known as Aley)
[EMAIL PROTECTED] *** www.keprt.cz *** ICQ: 82357182
Dept. of Computer Science, VSB Technical University
Ostrava, CZ - [EMAIL PROTECTED] - www.cs.vsb.cz
----------------------------------------------------------
----- Original Message -----
From: "Paolo Borzini" <[EMAIL PROTECTED]>
To: <sam-users@nvg.ntnu.no>
Sent: Friday, February 04, 2005 10:01 AM
Subject: Re: Text conversion
Hi Aley,
Aley Keprt wrote:
you can import texts from Sam to PC also with STI. It's a part of "Aley's
Sam Utils", see www.keprt.cz/progs/
I've downloaded the file "Aley's Sam Utils" and also
Net Framework 23Mb file ;-(
I've wrote a simple basic program with MS-Dos Edit.
But in converion step with STI, the program tell me a few error:
Unknown code 13 and code 10 at various position.
Probably not recognize the CR and LF .
Perhaps, I've used the wrong options with STI converter ;-(
Many thanks.
Ciao,
Paolo Borzini