Code center > Darwinbots Program Source Code
Mouse Click
Zelos:
ok, and how do I make the menu apphere like in db when you right click?
Numsgil:
That I'm not entirely sure on. Check out the Various Form_ functions in Form1.
Zelos:
ive fixed it :D
woho double woho and tripple woho
ive not only fixed that but now it writes the dna into a text file:D
Zelos:
nums/PY, exacly how does the program read a command line like:
--- Code: ---50 .up store
--- End code ---
and identify it as a command and not a cond? and how does it also read the conds? ice tried looking in the sourcefiles, but I cant make head and tail of it
Numsgil:
First it breaks it down into three words:
50
.up
store
Then it sends it to a parsing routine. The parsing routine checks to see if it's a command, number, etc.
Then it constructs a "block" type with that info.
I'm actually coding this into C++ as I speak.
Navigation
[0] Message Index
[*] Previous page
Go to full version