This site requires JavaScript, please enable it in your browser!
Greenfoot back
tartags11
tartags11 wrote ...

2014/1/15

Running BASIC inside a program

tartags11 tartags11

2014/1/15

#
Hi! So i am trying to create an object within the program that allows the user to type in the box and execute a command using BASIC programming language. Any idea on how to get it to work?
davmac davmac

2014/1/15

#
If you're talking about a full-blown programming-language interpreter, I'm afraid that this is one of those "if you have to ask, then it's really beyond you" sort of questions. I (and others) can help with specific questions but this one is broad and there are whole books written about parts of this problem (parsing and interpreting), so no-one can meaningfully answer with a short post here.
tartags11 tartags11

2014/1/15

#
ok... well would you be able to direct me to somewhere that could help me make a text box type object (one where the user can type text into the box on the program). I could use that as a replacement.
davmac davmac

2014/1/16

#
I'd suggest taking a look at similar things that other people have written. See this scenario for instance or search for "gui" or "text box".
tartags11 tartags11

2014/1/16

#
Alright! Thanks!!
You need to login to post a reply.