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 > ZirToken
Author Message
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Admin
Site Admin

avatar

(send private message)

Posts: 925
Topics: 54

Location:
OverHertz Studio
[578] - posted: 2011-11-10 21:33:45
zironProc does not make any difference , ziron does not detect function call .


ok will check this tomorrow morning, not at the office right now 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
[579] - posted: 2011-11-10 22:29:56
Ziron_RegisterUFunction & Ziron_CallUFunc does not work as expect
here is a part of plugin
Code:
// start pares if the var type is string
  if(StringFlg)
   {
          // here we start getting what after '=' 
          Ziron_GetNextToken(); 
          H_strcpy(@str1,Ziron_GetStringValue());

          buf=0;
          H_strjoin(@buf, '(@' , @var, ', \'' , @str1, '\');' );
          Ziron_CallUFunc(U_strcpy, @buf);
      @lop:              
          eax = Ziron_IsNextLineBreak();
          if (!eax) {
              eax = Ziron_GetNextToken(); 
              case (eax) {
                    state zirAndSym:
                    state zirComma:
                        Ziron_GetNextToken(); 
                        H_strcpy(@str1,Ziron_GetStringValue());   
                        H_strjoin(@buf, '(@' , @var, ', \'' , @str1, '\');' );
                        Ziron_CallUFunc(U_strcat, @buf);
                        break;
                    // remove ';' if found     
                    state zirSemi_Colon:
                        //Ziron_ShowMessage('found ;'); 
                        break; 
                   // is there a function call
                    state zironProc:   
                        Ziron_ShowMessage('found func'); 
                        break;  
                   
                    default:
                        Ziron_FatalError('Expected "+" or "&" or ";"');
                        return true;       
                }
               goto @lop;     
           }         
          Ziron_ShowMessage(@buf); 
       /*
          Len = H_strlen(@buf);    
          eax = Ziron_Execute(@buf,Len);
          if (eax == false) {
              Ziron_FatalError('error in let statment');
             return true;
          }
        */
          return true;
   }


and here is the test code
Code:
Let  c = 'Emil' & ' ' & 'halim'  

it output that 'EmilEmilEm' it must be 'Emil halim'

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

avatar

(send private message)

Posts: 925
Topics: 54

Location:
OverHertz Studio
[580] - posted: 2011-11-10 23:40:12
without telling what is problem or error i can not help.....

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
[581] - posted: 2011-11-11 09:48:00

ok, no problem.

thank you for your job, and good by.

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

avatar

(send private message)

Posts: 925
Topics: 54

Location:
OverHertz Studio
[582] - posted: 2011-11-11 13:59:25
if you write what is error you get, then i can see if problem in your code or ziron

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
[583] - posted: 2011-11-11 14:15:48

ok, i have fixed it , by butting buf=0; to ctear the buffer.

i was not clear enough.

anyway did you find the function detecting , hope you did it.

again thank you for you support.

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

avatar

(send private message)

Posts: 925
Topics: 54

Location:
OverHertz Studio
[591] - posted: 2011-11-11 15:48:32
not had time to look yet, but will shortly

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
[593] - posted: 2011-11-11 15:52:30
ok i have made a new topic for that

http://www.freewebs.com/ogremagic/index.htm
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
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: 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