Click here to Skip to main content
15,888,802 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hey guys,

i have been trying to make a programming language for a while now and i am going pretty well, i have made my own programming language. But i cant do some operations that i need for a console application because i dont know the commands to make that heppen. i then thought about my own operating system(yes, i am only 14 and building my own operating system) and then i though "hang on, if i am going to make my own operating system, why am i using the windows console applications? that is just using windows to make it."(please dont comment on why i am making an operating system in visual basic please). so i then thought "why dont i make my own cmd for my own operating system?" but i dont exactly know howt o make it. this is my code at the moment

VB
for each a as string in textbox1.text.split(system.environment.newline())
     if a.contains("print ")
          textbox2.text = & system.environment.newline() & a.substring(6)
     end if
next


lets say you would type in:

print hello world
print something

the result would only be something. when it prints the second line, it clears the box after it prints the first line. i dont get what i am doing wrong, could you please tell me.
Posted
Comments
Manfred Rudolf Bihy 28-Mar-12 5:21am    
Delusions of grandeur?
Member 8378691 28-Mar-12 16:47pm    
sorry, i dont know what you are talking about.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900