Author | Message |
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [446] - posted: 2011-11-07 21:30:57 what do you think about that Code:
http://www.freewebs.com/ogremagic/index.htm |
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [447] - posted: 2011-11-07 21:34:20 after i got the line , i can search for ';' and extract whatever befor it and execute it. http://www.freewebs.com/ogremagic/index.htm |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [448] - posted: 2011-11-07 21:38:45 why do you want to manually send process commands for the mov instructions rather then just let the assembler handle them... another problem without ; Code:
Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [449] - posted: 2011-11-07 21:43:45 no , i will extend the mov instruction , but first i was trying to get the exact line and Execute it for testing purpose. it seems you are wright , so i will get the line and check if the line holds any desired token i will process it or i will Execute it as it was without changes http://www.freewebs.com/ogremagic/index.htm |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [450] - posted: 2011-11-07 21:55:12 just to let you know, i've updated Ziron so that [expressions] will show as their string representation. e.g. Code:
will be shown now from GetStringValue Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [451] - posted: 2011-11-07 22:02:44 it is the same as adding a new command as extending an opcode. register "mov" check next token = if valid get next token = if valid -> next token etc, until you have all desired tokens, then execute the syntax, if along the lines the token is not what your plugin expected, you do not create a fatal_error, you just return false and ziron will handle it as if nothing was changed. Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [452] - posted: 2011-11-07 22:10:46 ok , an other way and i think it is more easier i will get the entire line the use instr function (i will create it) so if i found a desired token i will start pares it as usual or just return false http://www.freewebs.com/ogremagic/index.htm |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [453] - posted: 2011-11-07 22:11:35 lets take this example of extension, not tested Code:
allowing something like Code:
without breaking the current mov instruction, note that for next update i will try get the rest of the token list complete. Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Currently Active Users: There are currently 9 user(s) online. 0 member(s) and 9 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 |