if (FALSE) {
## 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"))
}
Run the code above in your browser using DataLab