EXAPUNKS

EXAPUNKS

View Stats:
Tutorial 3 - how to create additional EXAs?
I figured this out accidentally - by pressing CTRL+ENTER, a new EXA is spawned, thus allowing me to pass tutorial 3. But - it was a complete accident that I found this out. How was I supposed to know that? It's not written anywhere. Tutorial 3 obviously requires two EXAs - but it's not described anywhere how to create a new EXA - or am I missing something here?
< >
Showing 1-3 of 3 comments
I don't think it's explicitly described anywhere, but there's a button on the left side of the UI labeled "CREATE NEW EXA" which is what I found/used in that tutorial.
you can use the Create New EXA button which is under the code window to create and write the new EXA that operates from the start of the test run

or you can use the REPL command which is in the first zine. It creates a clone of the current EXA with all the same code and data stored in memory and then jumps to the assigned label and carries on the task from there, eg,

REPL BOT2
[Some lines of code here.
The original EXA will do everything from this point on.]

MARK BOT2
[Some lines of code here.
The cloned EXA will do everything from this point on.]

REPL BOT2 will make a clone who jumps to the part of your code labeled BOT2 and does all the tasks from there to the end of the code while the original EXA will continue with all of the tasks after the REPL command. you use the MARK command to label sections of your code. The original EXA will continue going down to the end of the code and so will do BOT2's tasks if you don't tell it to HALT itself before it reaches that point.
Originally posted by ojek:
I figured this out accidentally - by pressing CTRL+ENTER, a new EXA is spawned, thus allowing me to pass tutorial 3. But - it was a complete accident that I found this out. How was I supposed to know that? It's not written anywhere. Tutorial 3 obviously requires two EXAs - but it's not described anywhere how to create a new EXA - or am I missing something here?
There is a big button that say "CREATE NEW EXA" right under the programing window
< >
Showing 1-3 of 3 comments
Per page: 1530 50