Register | Login
Forum Index > Bugs and Fixes > Error 512313 in [basic.zir]
Author Message
Pages: 1
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[1050] Error 512313 in [basic.zir] - posted: 2012-05-11 17:11:17
this code snippet was working okay with previous Ziron

Code:
        // check if next token is 'ptr'  
        if ( Ziron_PeekNextToken() ==  zirUserIdent ) 
         {
            Ziron_GetNextToken(); 
            if(strCmp('ptr',strLower(Ziron_GetStringValue())) == True)
             {
                H_strcat(@tmp,'*'); // this line gives the error
             } 
            if ( Ziron_PeekNextToken() ==  zirUserIdent ) 
            {
            
            }  
         }    


but with version 1.1.32.3 i got this error

[170,15]: Error 512313 in [basic.zir]
Code:
}


any help please?


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

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[1053] - posted: 2012-05-11 17:49:52
try reverse the function call inside strCmp

Code:
strCmp(strLower(...., 'ptr');


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: 639
Topics: 104

Location:
Alex, Egypt
[1056] - posted: 2012-05-11 18:11:04

ok i have found that.

Ziron does not allow embty block
Exm.
Code:
  if(eax == 1)
   {
      //empty block here
   }


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

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[1060] - posted: 2012-05-11 19:14:26
I have fixed this for next release, thanks for report 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 12 user(s) online. 0 member(s) and 12 guest(s)
Most users ever online was 1046, January 28, 2022, 2:08 pm.


Statistics:
Threads: 225 | Posts: 1848 | Members: 51 | Active Members: 51
Welcome to our newest member, yecate
const Copyright = '2011-2024 © OverHertz Ltd. All rights reserved.';
Web development by OverHertz Ltd