My Project
 All Files Functions Variables
example.c
Go to the documentation of this file.
1 
6 TYPE c_function(TYPE Parameter)
7 {
8  TYPE ReturnValue; //comment ReturnValue
9  TYPE_A LokalVariable_1 = Value1; //variable-comment 1
10  TYPE_A LokalVariable_2; //variable-comment 2
11  TYPE_Z LokalVariable_N = ValueN; //variable-comment N
12 
13  operation_1( & LokalVariable_1,Parameter); //operation-comment 1
14  LokalVariable_2 = operation_2(LokalVariable_N);
15  //operation-comment 2
16  if(LokalVariable_1 == LokalVariable_2)
17  //statement-comment for true
18  {
19  ReturnValue = DefaultValue; //operation-comment for true
20  }
21  else //statement-comment for false
22  {
23  while(ParameterStatment) //loop-comment
24  ReturnValue = operation_3(); //operation-comment 3
25  };
26 
27  return(ReturnValue); //comment return-line
28 }