Ask your own question, for FREE!
Computer Science 18 Online
OpenStudy (poopsiedoodle):

Just a little project of mine:

OpenStudy (poopsiedoodle):

OpenStudy (poopsiedoodle):

It's a programming language I'm writing using VB.NET. http://code.google.com/p/nsoft-v/

OpenStudy (anonymous):

You're using windows XP, really?

OpenStudy (poopsiedoodle):

Yes, really. :3

OpenStudy (opcode):

Nice to see you are still continuing your little project, good luck!

OpenStudy (anonymous):

If your serious about creating a programming language it would help to learn about context free grammars and about parser generators http://en.wikipedia.org/wiki/Comparison_of_parser_generators

OpenStudy (poopsiedoodle):

While we're here, could someone help me solve this problem? The error is `Index and length must refer to a location within the string. Parameter name: length` and the code is `Dim msgstyle As MsgBoxStyle = Command.Substring(Command.IndexOf(", "), Command.IndexOf("Title"))`

OpenStudy (poopsiedoodle):

`Index and length must refer to a location within the string. Parameter name: length`

OpenStudy (poopsiedoodle):

The code (in V) that that line of vb code is for is `console>msg>"Hello World, okonly Title=example`

OpenStudy (poopsiedoodle):

So, the msgbox style is being read from the space after the comma to the t in title, although I'll probably change it to msgboxstyle>okonly so that people can use commas.

OpenStudy (poopsiedoodle):

The code is now `Dim msgstyle As MsgBoxStyle = Command.Substring(Command.IndexOf("msgboxstyle>"), Command.IndexOf("Title"))`, but I''m getting the same error (with the substring method)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!