Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/overhertz/domains/codeziron.com/public_html/ziron/ziron.db.connector.php on line 13 code:zIRON - Get the latest releases plus source-codes and tutorials - Simplifed Assembly Programming Language.
Register | Login
Forum Index > Requests and Feedback > type-check system
Author Message
Pages: 1
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 638
Topics: 103

Location:
Alex, Egypt
[105] type-check system - posted: 2011-10-24 09:50:20
hi

sometime , when programing with asm low level , there is no need to make a type-check checking.

so you can use #TypeCheck On , or #TypeCheck Off directive for switching between two modes.

Emil.

http://www.freewebs.com/ogremagic/index.htm
Admin
Site Admin

avatar

(send private message)

Posts: 925
Topics: 54

Location:
OverHertz Studio
[107] - posted: 2011-10-24 10:58:23
which type-checking in ziron are you referring to?

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 638
Topics: 103

Location:
Alex, Egypt
[108] - posted: 2011-10-24 19:16:41

I was talking about Type_checking of function parameters and procedure parameters.


http://www.freewebs.com/ogremagic/index.htm
Admin
Site Admin

avatar

(send private message)

Posts: 925
Topics: 54

Location:
OverHertz Studio
[111] - posted: 2011-10-24 20:34:10
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 smile

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 638
Topics: 103

Location:
Alex, Egypt
[112] - posted: 2011-10-24 20:43:02

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
Admin
Site Admin

avatar

(send private message)

Posts: 925
Topics: 54

Location:
OverHertz Studio
[115] - posted: 2011-10-25 15:26:17
There should be no problem smile

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Pages: 1
create new reply


Quick reply:

Message:



Currently Active Users:
There are currently 1 user(s) online. 0 member(s) and 1 guest(s)
Most users ever online was 999, May 11, 2018, 9:01 am.


Statistics:
Threads: 223 | Posts: 1837 | Members: 50 | Active Members: 50
Welcome to our newest member, NobodyAtWork
const Copyright = '2011-2018 © OverHertz Ltd. All rights reserved.';
Web development by OverHertz Ltd