Register | Login
Forum Index > Requests and Feedback > data section.
Author Message
Pages: 1 2 3 4 5 6 7 8 9 10 11
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[628] - posted: 2011-11-11 22:22:20
you downloaded latest beta i just updated?

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
[629] - posted: 2011-11-11 22:23:20

oh sorry , works fine. my mistake

http://www.freewebs.com/ogremagic/index.htm
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[630] - posted: 2011-11-11 22:29:00

this code must print '_DATA' but it print nothing atall , is something wrong here
Code:
function event_Data() {
  uses edi;
  boolean Flg = true;  
  
  if(Flg)
   {
      Ziron_ShowMessage(Ziron_GetStringValue());       
      return true;
   }
  else
   {   
      return false;                           // let Ziron handle the line  
   }  
}


http://www.freewebs.com/ogremagic/index.htm
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[631] - posted: 2011-11-11 22:31:41
yes got the last update ver.

http://www.freewebs.com/ogremagic/index.htm
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[632] - posted: 2011-11-11 22:39:59

one more thing, when compile without the masm plugin it does not fire any error
Code:
program WIN32CUI 'Masm Syntax test';

#include 'console.zir';


.DATA  var      DB 64     //; Declare a byte, referred to as location var, containing the value 64.

wait_key(nil);
ExitProcess(0);


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

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[633] - posted: 2011-11-11 22:40:08
using your code, it does output:

Code:
PlugSys: _DATA




Code:
function event_Data() {
  uses edi;
  boolean Flg = true;  
  
  if(Flg)
   {
      Ziron_ShowMessage(Ziron_GetStringValue());       
      return true;
   }
  else
   {   
      return false;                           // let Ziron handle the line  
   }  
}

procedure FileEntry(DWord handle; char* strCode) {
  eax = strOffset(strCode, '.DATA');
  while (char[eax] <> 0) {
    char[eax] = "_";
    eax = strOffset(eax, '.DATA');
  }
}

function InitPlugin(pointer pGetF) {
  Ziron_LoadAll(pGetF); //use framework utility function to load all

  //register our keyword
  Ziron_RegisterKeyword('_Data', @event_Data);
  
  return strLoaded;
}

entry function DLLMain(DWord iDLL; DWord iReason; Pointer iResult) {
  if (iReason == DLL_PROCESS_ATTACH) {
    return true;
  }

  return false;
}

exports InitPlugin, FileEntry;


Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[634] - posted: 2011-11-11 22:43:43
one more thing, when compile without the masm plugin it does not fire any error




....

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
[635] - posted: 2011-11-11 22:44:05
may be i do not got the latest one

http://www.freewebs.com/ogremagic/index.htm
Pages: 1 2 3 4 5 6 7 8 9 10 11
create new reply


Quick reply:

Message:



Currently Active Users:
There are currently 4 user(s) online. 0 member(s) and 4 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