Found on the net whilst exploring referrers to the site:
http://www.students.meduniwien.ac.at/~n0102122/tutorials/cbasic-english.pdf
International recognition at last ;D ;D
Nice tutorial .. :)
I hope lots of new folk will be encouraged to try it for themselves.
There is one misleading bit which maybe I should point out to anyone trying the simple calculation program on Page 5.
Converting numbers to strings for printout is actually not necessary.
Here's the same example printing without using strings.
It works because placing 'commas' between each value to be printed, tells Creative BASIC not to issue a carriage return.
DIM number1 AS INT
DIM number2 AS INT
PRINT "Enter number 1!"
INPUT number1
PRINT "Enter number 2!"
INPUT number2
setprecision 4
PRINT
PRINT "Addition:"
PRINT number1,"+ ", number2," = ", number1 + number2
PRINT "Subtraction:"
PRINT number1,"- ", number2," = ", number1 - number2
PRINT "Multiplication:"
PRINT number1,"* ", number2," = ", number1 * number2
PRINT "Division:"
PRINT number1,"/ ", number2," = ", number1 / number2
I've put a 'Setprecision' in the code as an example of setting the number of decimal places on printout.
best wishes, :)
Graham
I've spoken with Claus and he also has a German version of the tutorial:
http://www.students.meduniwien.ac.at/~n0102122/tutorials/cbasic.pdf
Paul.