UpperCode {brassica}R Documentation

Convert to Upper Case

Description

Converts a BASIC program to upper case, except for any string literals.

Usage

UpperCode(p)

Arguments

p

A BASIC program listing, as a character vector.

Value

Returns the converted listing, as a character vector.

See Also

LowerCode

Examples

# Convert a program to upper case.
UpperCode(c('10 let x=x+1', '20 print "Hello, World!"'))

[Package brassica version 1.0.2 Index]