write.AmigaBasic | R Documentation |
Write an AmigaBasic()
class object to a file in its binary format.
write.AmigaBasic(x, file, disk = NULL)
x |
The |
file |
A |
disk |
A virtual Commodore Amiga disk to which the |
This function encodes the Amiga Basic code in its binary format
(using as.raw()
) and writes it to a file. The file
can also be stored onto a virtual Amiga disk
(amigaDisk()
).
Invisibly returns the result of the call of close
to the
file connection. Or, when disk
is specified, a copy of
disk
is returned to which the file(s) is/are written.
Pepijn de Vries
Other AmigaBasic.operations:
AmigaBasic.reserved()
,
AmigaBasicBMAP
,
AmigaBasic
,
[.AmigaBasic()
,
as.AmigaBasicBMAP()
,
as.AmigaBasic()
,
as.character()
,
check.names.AmigaBasic()
,
names.AmigaBasic()
,
rawToAmigaBasicBMAP()
,
rawToAmigaBasic()
,
read.AmigaBasicBMAP()
,
read.AmigaBasic()
Other io.operations:
read.AmigaBasicBMAP()
,
read.AmigaBasicShape()
,
read.AmigaBasic()
,
read.AmigaBitmapFontSet()
,
read.AmigaBitmapFont()
,
read.AmigaIcon()
,
read.SysConfig()
,
read.iff()
,
write.AmigaBasicShape()
,
write.AmigaBitmapFont()
,
write.AmigaIcon()
,
write.SysConfig()
,
write.iff()
## Not run:
## First create an AmigaBasic object:
bas <- as.AmigaBasic("PRINT \"hello world!\"")
## write to tempdir:
write.AmigaBasic(bas, file.path(tempdir(), "helloworld.bas"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.