rawToAmigaBasic: Coerce raw data into an AmigaBasic class object

View source: R/basic.r

rawToAmigaBasicR Documentation

Coerce raw data into an AmigaBasic class object


AmigaBasic objects are comprehensive representations of binary-encode Amiga Basic scripts. Use this function to convert raw content from encoded Amiga Basic scripts to an AmigaBasic object.


rawToAmigaBasic(x, ...)



A vector of raw data that is to be converted into an AmigaBasic class object.


Currently ignored.


This function will convert raw data as stored in Amiga Basic files into its corresponding S3 AmigaBasic-class object.


An AmigaBasic class object based on x.


Pepijn de Vries

See Also

Other AmigaBasic.operations: AmigaBasic.reserved(), AmigaBasicBMAP, AmigaBasic, [.AmigaBasic(), as.AmigaBasicBMAP(), as.AmigaBasic(), as.character(), check.names.AmigaBasic(), names.AmigaBasic(), rawToAmigaBasicBMAP(), read.AmigaBasicBMAP(), read.AmigaBasic(), write.AmigaBasic()

Other raw.operations: as.AmigaBasic(), as.raw.AmigaBasic(), colourToAmigaRaw(), packBitmap(), rawToAmigaBasicBMAP(), rawToAmigaBasicShape(), rawToAmigaBitmapFontSet(), rawToAmigaBitmapFont(), rawToAmigaIcon(), rawToHWSprite(), rawToIFFChunk(), rawToSysConfig(), simpleAmigaIcon()


## Not run: 
## First create an AmigaBAsic object:
bas <- as.AmigaBasic("PRINT \"Hello world!\"")

## Make it raw:
bas.raw <- as.raw(bas)

## Now convert it back to an AmigaBasic object:
bas <- rawToAmigaBasic(bas.raw)

## End(Not run)

AmigaFFH documentation built on Aug. 27, 2023, 9:07 a.m.