check.names.AmigaBasic {AmigaFFH}R Documentation

Check Amiga Basic label/variable names for validity

Description

Check Amiga Basic label/variable names for validity

Usage

check.names.AmigaBasic(x, ...)

Arguments

x

A vector of character strings that need to be checked

...

Currently ignored.

Details

Names for variables and labels should adhere to the following rules in Amiga Basic:

This function tests names against each of these criteria.

Value

A data.frame with logical values with the same number of rows as the length of x. Columns in the data.frame corresponds with the criteria listed in the details. FALSE for invalid names.

Author(s)

Pepijn de Vries

See Also

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

Examples

## Not run: 
## These are valid names in Amiga Basic:
check.names.AmigaBasic(c("Foo", "Bar"))

## Reserved words and repeated names are not allowed:

check.names.AmigaBasic(c("Print", "Foo", "Foo"))

## End(Not run)

[Package AmigaFFH version 0.4.5 Index]