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: 932
Topics: 54

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: 932
Topics: 54

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 1 user(s) online. 0 member(s) and 1 guest(s)
Most users ever online was 999, May 11, 2018, 10:01 am.


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