by cncdrive » Tue Jun 06, 2017 9:38 pm
The syntax is C#, it is a C based language with some more object orientation than Ansi C.
C# does not use the END word at all, the END statement is used by Basic and Pascal language for example.
A while statement in C# can look like:
while(condition test)
{
//Do something
}
do
{
//Do something
}
while(condition test);
With the first one the condition is tested at the beginning, so if the condition check is false then the cycle does not run at all,
and the second type tests the condition at the end, so with this one the cycle runs at least once even if the condition was false from the beginning.
For the syntax of different things in C# I advice you to read after the C# language. It is one of the worlds' most popular programming languages today, so you can find lots of informations about it online.