Let's Make Robots!

Collapse your Picaxe-editor's code


Blocks use the { and } charcaters to create collapsable code!

In the Options menu of the Picaxe-editor, check "Use Collapsing blocks" in the "editor" - tab.

Then use the { and } around a part of the code, and you can expand / collapse it.

Boy, that took me some time to find out, and boy, that helps me creating overview!!

 

.. And now that everything can be neater, why not also use the

#rem
all you write in here
is out-commented.
You can just write a lot, and it does not have to be in one line, Hurray!!
#endrem

 

(Has anyone seen a manual for that editor anywhere, am I blind & stupid?) 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
OddBot's picture
I haven't seen this is the manual but another member (I think it was Grog or Mintvelt) posted some code using this and explained it to me. It's great for those big programs.
noise0's picture
awesome! it is very usefull, thx frits

I find myself using the brackets to fake a C style function look, for tidyness :) like this:

doRandomSequence:

{

gosub letsDoThis

return

}

voodoobot's picture
same here. I happened to find this while exploring the options and adding the color mode.