Author Topic: Arrays other topic  (Read 5378 times)

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Arrays other topic
« Reply #30 on: February 23, 2005, 04:22:57 PM »
OMFG ^%$^^%$

SORRY NUM I FORGOT THERE ARE STILL COMMENTS IN MY ORIGINAL CODE , Checking now...

LOL , YES IT WORKS MOVING ON TO USING +ADD+ , checking now...

IT WORKS , FINALY

TY TY TY
« Last Edit: February 23, 2005, 04:27:53 PM by Botsareus »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7715
    • View Profile
Arrays other topic
« Reply #31 on: February 23, 2005, 04:25:56 PM »
:D It's all good Bots, just making sure we're speaking the same language.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7715
    • View Profile
Arrays other topic
« Reply #32 on: February 25, 2005, 06:45:16 AM »
Just finished up coding the parser so that it will allow the following crazy coding styles:

Code: [Select]
cond                  5                   6 >
start                              'do lotsa crazy stuff
5              6                 store
stop
cond 'this is more normal
start
stop 'pretty cool huh?
end
« Last Edit: February 25, 2005, 06:50:00 AM by Numsgil »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Arrays other topic
« Reply #33 on: February 25, 2005, 11:53:40 AM »
rofl , Num whats the use of that?

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2554
    • View Profile
    • http://kuro-tejina.com
Arrays other topic
« Reply #34 on: February 25, 2005, 11:57:26 AM »
It helps a lot!

Haven't you ever noticed that if you accidentally leave 2 spaces between stuff in a line of DNA code, it just gives a zero instead of the rest of the line?

Also this allows us to put comments directly after code in a line of DNA.

Sounds like a great idea to me.

 :D  PY  :D
There are 10 kinds of people in the world

Those who understand binary.

and those who don't

:D PY :D

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Arrays other topic
« Reply #35 on: February 25, 2005, 12:01:58 PM »
no its just
Quote
cond 'this is more normal
start
stop

confused me at first , its all empty

I gess thats what happens when a new gene is added to the Dna

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7715
    • View Profile
Arrays other topic
« Reply #36 on: February 25, 2005, 12:02:26 PM »
If you noticed, Bots, I put comments after a line of commands as well.  That's what your problem was before.  I fixed it!

this is a coding style I could see happen:

Code: [Select]
cond
start
5 2 store   'explain this comment
5 8 mult    'explain this one too
6 5 add     'wow, and this one
div
stop

You can use spaces to help allign all the text.
« Last Edit: February 25, 2005, 12:02:40 PM by Numsgil »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Arrays other topic
« Reply #37 on: February 25, 2005, 12:04:15 PM »
:) THANKS NUM  :)
« Last Edit: February 25, 2005, 12:05:04 PM by Botsareus »