Skip to contents

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.

Usage

rawToAmigaBasic(x, ...)

Arguments

x

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

...

Currently ignored.

Value

An AmigaBasic() class object based on x.

Details

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

Author

Pepijn de Vries

Examples

if (FALSE) {
## 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)
}