as.AmigaBasic | R Documentation |
Coerce raw or character data to an AmigaBasic()
S3 class object
as.AmigaBasic(x, ...)
x |
When |
... |
Currently ignored. |
Convert text to an AmigaBasic()
S3 class object. The text should
consist of valid Amiga BASIC syntaxis. This function does not perform a
full check of the syntaxis, but will break on some fundamental syntaxis malformations
Returns an AmigaBasic()
class object based on x
.
Pepijn de Vries
https://en.wikipedia.org/wiki/AmigaBASIC
Other AmigaBasic.operations:
AmigaBasic.reserved()
,
AmigaBasicBMAP
,
AmigaBasic
,
[.AmigaBasic()
,
as.AmigaBasicBMAP()
,
as.character()
,
check.names.AmigaBasic()
,
names.AmigaBasic()
,
rawToAmigaBasicBMAP()
,
rawToAmigaBasic()
,
read.AmigaBasicBMAP()
,
read.AmigaBasic()
,
write.AmigaBasic()
Other raw.operations:
as.raw.AmigaBasic()
,
colourToAmigaRaw()
,
packBitmap()
,
rawToAmigaBasicBMAP()
,
rawToAmigaBasicShape()
,
rawToAmigaBasic()
,
rawToAmigaBitmapFontSet()
,
rawToAmigaBitmapFont()
,
rawToAmigaIcon()
,
rawToHWSprite()
,
rawToIFFChunk()
,
rawToSysConfig()
,
simpleAmigaIcon()
## Not run:
## An AmigaBasic object can be created from text.
## Note that each line of code is a seperate element
## in the vector:
bas <- as.AmigaBasic(c(
"CLS ' Clear the screen",
"PRINT \"Hello world!\" ' Print a message on the screen"
))
## Let's make it raw data:
bas.raw <- as.raw(bas)
## We can also use the raw data to create an Amiga Basic object:
## Note that this effectively the same as calling 'rawToAmigaBasic'
bas <- as.AmigaBasic(bas.raw)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.