Comments, Regions and final structureIf you mastered all previous tutorials, this final lesson will be very easy.
In Pascal you have multiple ways in order to sort\comment and structure code.
One of those are regions. Regions are used to mark a specific part of code allowing to show and hide them in order to organize your code.
You may see the spoilers here, regions work similar.A region begins with the keyword
{$Region 'Name'} where you replace Name for the title of region and ends with the keyword
{Endregion}You also have multiple ways to comment or outcomment code. The most used is
// where you can write comments on the line after the //.
If you want to write multiline comments or outcomment a region of code you can use
(* <Comments> *) where <Comments reflect your text\code you dont want to be executed anymore.
Attention : If you outcomment code with regions you must keep sure that the begin and end keyword of regions is outcommented or not being commented. Else you will get issues with your Code.Thats it, you learned now the very very basics of pascal, able to atleast write a few basic scripts. From now on i will start explaining Stealth related Components.Further Questions can be asked
Here.