Author | Message | ||||
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [1061] assignment detecting - posted: 2012-05-11 19:54:44 Hi Mr Colin. i made this to detecting assignment but seems that it does not work? Code:
have tried both Ziron_RegisterUserToken & Ziron_RegisterKeyword but no detecting. any help please? http://www.freewebs.com/ogremagic/index.htm | ||||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1062] - posted: 2012-05-11 20:01:53 from plugin_interface.rtf:
because the internal text processor works on byte to byte basis, it would be very slow to have a callback and keyword events based on characters. This sort of thing would be best to be pre-processed by the plugin using the event "ProgramEntry", Ziron_Execute can be called from this event, but note that you must manually process all of the buffer and then execute it:
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 | [1063] - posted: 2012-05-11 20:12:09 BTW , what is the deference between the ProgramBegin and ProgramEntry function. http://www.freewebs.com/ogremagic/index.htm | ||||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1064] - posted: 2012-05-11 20:18:34 There is no ProgramBegin... where do you see this? 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 | [1065] - posted: 2012-05-11 20:28:14 oh , sorry , it was my mistake. so i will try the programEntry ,and see the results. BTW, i was trying to detect assignment to allow this in plugin Code:
http://www.freewebs.com/ogremagic/index.htm | ||||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1066] - posted: 2012-05-11 20:41:42 not to worry, some of the mmx high level stuff will be added shortly, the problem is that by adding high level for movq and movd is people may forget to call emms before fpu instructions. 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 | [1067] - posted: 2012-05-11 20:49:49 ok , no problem. please can you give a working example of using programEntry. i have tryied that but no successful. Code:
http://www.freewebs.com/ogremagic/index.htm | ||||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1068] - posted: 2012-05-11 21:24:40 apptype is just the "WIN32CUI" you would need to use Ziron_ExtractLine Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Currently Active Users: There are currently 6 user(s) online. 0 member(s) and 6 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 |