Phillip Senn
Phillip Senn

Reputation: 47595

BASIC.js for toUpperCase

I'm going to go old school on JavaScript and write a BASIC.js that contains functions like:

function UCASE(obj) {
 return obj.toUpperCase();
}

function LCASE(obj) {
 return obj.toLowerCase();
}

Q: Has anyone done this already?

Upvotes: 3

Views: 141

Answers (2)

Jacob Mattison
Jacob Mattison

Reputation: 51052

Don't know that anyone has done that exactly -- honestly not sure of the utility, but hey, if it's fun for you, why not?

However, there are a number of javascript-based BASIC interpreters:

NGBasic

Quite BASIC

Applesoft BASIC interpreter

Upvotes: 4

Related Questions