Hi, i am trying to learn how to use the { and } symbols to make my code look a lot neater.
i tried putting the following but it comes upwith a syntax error when compiling
i would like it to have looked like.. (when blocks collapsed)
But it comes up with an error so i am having to change it to
this gives me
does anyone know how to name a region or is there any other way of making it look like in my second code block so it just shows the sub name?
Many Thanks
Aaron
i tried putting the following but it comes upwith a syntax error when compiling
Code:
{Block1:
Code here
Return
}
Code:
+ Block1:
+ Block2:
+ Block3:
Code:
Block1:
{
Code here
Return
}
Code:
Block1:
+ Unnamed Region
Block2:
+ Unnamed Region
Block3:
+ Unnamed Region
Many Thanks
Aaron