Thanks to Julio Marchi for this space in MSX All
 

Programming Course


Learn here the most important MSX programming languages

Assembly Z80 Basic
10  ORG &HD000
20  LD DE,&H0504
30  LD HL,0
40  LD A,D
50  OR A
60  RET Z
70  LD B,D
80  LD D,H
90  LOOP: ADD HL,DE
100 DJNZ LOOP
110 RET

10 SCREEN 0 : WIDTH 40
20 INPUT"What's your name";N$
30 INPUT"How old are you";A
40 PRINT N$ + " is " + 
STR$(A) + " years old."
50 END







C Language dBASE II
#include <stdio.h>

double product(double a, double b)
{
  return a*b;
}

int main(void)
{
  printf("%02.f\n",product(15, 2));
  return 1;
}
 . create tabela;
 . use tabela;
 . display all;
 00001  Bolt       0345  0.88
 00002  Nail       0234  0.55
 .







Pascal Games
function add(a, b : real):real;
begin
  add := a+b;
end;

begin
  writeln(add(3,2));
end.







AI Games in Basic




  Courses license: GNU FDL
  Softwares included license: GNU-GPL versão 3.x
  Author: Marcelo Siveira



  The courses and programs here were created by Marcelo Silveira, except for the things that are indicated.


Marcelo Silveira
Systems and Computing Engineer
Expert in Image Processing and Artificial Intelligence
© MarMSX 1999-2020