aha, i think i know the problem - can you try remove the comment
// note well , in basic there is no semicolon at end of file
if it works i know how to fix :)
A community discussion post from the original code:zIRON forum.
aha, i think i know the problem - can you try remove the comment
// note well , in basic there is no semicolon at end of file
if it works i know how to fix :)
note , my previous post is , yes i redownload it , now i will test the removing comment
http://www.freewebs.com/ogremagic/index.htm
ok i've updated the 1.1.27.5 alpha package :)
ok works fine
i got an other error here
program WIN32CUI 'Basic Syntax test';
#include 'console.zir';
function H_strcpy(Dword dst,src)
{
Eax = dst;
Edx = src;
push Eax;
BL = [Edx];
while ( BL != 0)
{
[Eax] = BL;
Eax++; Edx++;
BL = [Edx];
}
[Eax] = 0;
pop Eax;
}
eax = 1;
print('eax = ', eax:int, '\r\n');
Dim Var as int32 // note well , in basic there is no semicolon at end of file
DIM Name$
DIM a AS int32, b AS Dword, c AS char
dim k%
dim S!
dim M#
Var = 1000;
a = -10;
b = 150;
c = ord('A');
k = -2000;
S = 1.5; //<<<<<<<<<<<<<<<<<<<< this giave error
M = 2.0;
H_strcpy(@Name , 'Emil');
print('Var = ', Var, '\r\n');
print('a = ', a, '\r\n');
print('b = ', b, '\r\n');
print('c = ');
WriteLnEx(@c,1);
print('k = ', k, '\r\n');
WriteLnEx(@Name,4);
wait_key(nil);
ExitProcess(0);
http://www.freewebs.com/ogremagic/index.htm
at current release, i have not done much on the higher level FPU assignment, i will gradually get round to it, else you can try mov.
mov S, 1.5
i will see about adding assignment shortly :)