| Title: | AMIGA NOTES |
| Notice: | Join us in the *NEW* conference - HYDRA::AMIGA_V2 |
| Moderator: | HYDRA::MOORE |
| Created: | Sat Apr 26 1986 |
| Last Modified: | Wed Feb 05 1992 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 5378 |
| Total number of notes: | 38326 |
Question:
How does a person get a hardcopy of a basic program listing?
I did a type >prt: and the printer went nuts! The listing
is obviously not in ascii format. Any ideas?
Roger
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 1337.1 | Save it as ASCII | LEDS::ACCIARDI | Thu Apr 14 1988 09:42 | 15 | |
AmigaBASIC normally saves files in a tokenized format, which closely
resembles gibberish. To save a file in ASCII, simply append an
'a' after the filename. For example;
save "dh0:Basic/FILENAME, a"
AmigaBASIC likes to see quotes around pathnames. The comma after
the filename is also required for an ASCII save. I do this all the
time, as I like to have versions of my famous Basic abominations
that run on VMS also.
By the way, if you type LLIST "FILENAME" from AmigaBASIC, you should
get a listing without exiting Basic.
Ed.
| |||||
| 1337.2 | DICKNS::MACDONALD | WA1OMM Listening 52.525 | Thu Apr 14 1988 15:39 | 4 | |
Err, AmigaBASIC does not like to see quotes appended after the ,a
if you are trying to save the program as an ascii file.
SAVE "filename",a
| |||||