oki well how about a simple program
db ->
sync on : sync rate
do
strMyText as string = "Hello World"
print strMyText
sync
loop
c ->
#include "stdio.h"
void MainLoop ( void )
{
LPSTR strMyText = "Hello World";
printf(%d,strMyText);
}
or how about an if statment
db ->
if a=b then b=c
c ->
int a;
int b;
if(a==b)
b = (int) c;
or the other kind of if
db ->
if a=b
b=c
else
c=b
endif
c ->
int a;
int b;
if(a==b)
{
b = (int) c;
}
else
{
int c = b;
}
or how about type structures
dbp ->
type fVec3_t
x as float
y as float
z as float
endtype
mytype as fVec3_t
mytype.x = 1.0
mytype.y = 1.0
mytype.z = 1.0
c ->
typedef struct
{
float x;
float y;
float z;
} fVec3_t;
fVec3_t mytype;
mytype[0] = 1.0f;
mytype[1] = 1.0f;
mytype[3] = 1.0f;
you could also do that like
mytype.x = 1.0f; and such
its really a cool language
how about a function?
dbp ->
function myfunc( a as dword, b as dword )
local c as dword
a + b = c
endfunction c
c ->
DWORD myfunc( DWORD a, DWORD b )
{
DWORD c = a + b;
return c;
}
its even possible to do types, and declare these as part of the program - but i think thats enough for now
there are quite a few good online tutorials.
Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?