Raspberry BASIC

Raspberry BASIC => Compilers => C BASIC => Topic started by: John Spikowski on April 19, 2019, 07:30:38 pm

Title: Hello C BASIC
Post by: John Spikowski on April 19, 2019, 07:30:38 pm
Code: C
  1. #include <stdio.h>
  2. #include "cbasic.h"
  3.  
  4. MAIN
  5. BEGIN_FUNCTION
  6.   PRINT("Hello, World!\n");
  7. END_FUNCTION
  8.  


$ gcc hello.c -o hello
$ ./hello
Hello, World!
$