rawToAmigaBasic: Coerce raw data into an AmigaBasic class object

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/basic.r

Description

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

1

Arguments

x

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

...

Currently ignored.

Details

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

Value

An AmigaBasic class object based on x.

Author(s)

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()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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 Sept. 5, 2021, 5:22 p.m.