[Coco] C VS Basic Coco
    Taylor, Phillip L CIV 
    Phillip.L.Taylor at uscg.mil
       
    Tue Feb 13 11:08:18 EST 2018
    
    
  
I the reason I like basic is because it's much easer to learn and read the source code.  The example below 8 lines of basic code 6 lines of code vs C is 8 lines of code.
Basic is more simple less code:
Loop
A = A +1
Print A
Exitif A < 20
EndExit
Endloop
C Code is harder to learn:
#include <stdio.h>
 
int main () {
   int a;
	
   /* for loop execution */
   for( a = 10; a < 20; a = a + 1 ){
      printf("value of a: %d\n", a);
   }
 
   return 0;
}
    
    
More information about the Coco
mailing list