Coerce an AmigaBasic()-class object to its character representation
Arguments
- x
An
AmigaBasic()class object that needs to be coerced to itscharacterrepresentation.- ...
Currently ignored.
Value
A vector of character strings, where
each element of the vector is a character representation
of a line of Amiga Basic code stored in x.
Details
Amiga Basic files are encoded in a binary format and are also stored as such
in AmigaBasic()-class objects. Use this function to convert
these objects into legible character data.
See also
Other AmigaBasic.operations:
AmigaBasic,
AmigaBasic.reserved(),
AmigaBasicBMAP,
[.AmigaBasic(),
as.AmigaBasic(),
as.AmigaBasicBMAP(),
check.names.AmigaBasic(),
names.AmigaBasic(),
rawToAmigaBasic(),
rawToAmigaBasicBMAP(),
read.AmigaBasic(),
read.AmigaBasicBMAP(),
write.AmigaBasic()
Examples
## First create an Amiga Basic object:
bas <- as.AmigaBasic("PRINT \"Hello world!\"")
## now convert the object back into text:
bas.txt <- as.character(bas)