Skip to content
Low-level programming · Higher-level thinking
Login Register
Forum / Bugs and Fixes

negative float parameter

A community discussion post from the original code:zIRON forum.

Replies

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

have an other error

when call a function that has default parameter ziron gives error.

for example

  procedure RenderWorld = ('_RenderWorld@4')(single timeSinceLastFrame=0.0); stdcall;

calling it like this is okay
  
  RenderWorld(0.0);

but calling like this give error

  RenderWorld();

here is the error

[97,23]: Unknown float type in [testprg.zir] Code: RenderWorld();

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

Colin admin
Posts
928
Threads
49
Location
Bulgaria

OK, lol this time.... :)

It should be solved.

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

oh , thanks , every thing is okay now.

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