Colin
admin
- Posts
- 928
- Threads
- 49
- Location
- Bulgaria
which type-checking in ziron are you referring to?
Emil_halim
member
- Posts
- 639
- Threads
- 104
- Location
- Alex, Egypt
I was talking about Type_checking of function parameters and procedure parameters.
http://www.freewebs.com/ogremagic/index.htm
Colin
admin
- Posts
- 928
- Threads
- 49
- Location
- Bulgaria
Ziron already allows you to call a function with any type of data as a parameter as long as it is a valid pushable type :)
Emil_halim
member
- Posts
- 639
- Threads
- 104
- Location
- Alex, Egypt
ok , i will give you an example.
suppose you have the next function
function balbal(char ch, int32 i , char* name)
so you can call it as usual
char mychar = 'c';
int32 k = 10;
char* myname = 'Emil';
balbal(mychar,k,myname);
so when calling it like this
dword k =10;
dword add = @myname;
balbal(mychar,k,add);
it is ok or the compiler will fire type miss matching error
Emil.
http://www.freewebs.com/ogremagic/index.htm
Colin
admin
- Posts
- 928
- Threads
- 49
- Location
- Bulgaria
There should be no problem :)