Author | Message | ||||
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [1040] plugin detecting question - posted: 2012-05-09 22:01:30 Hi Mr Colin, i was playing with a dummy plugin , so that i want to detect a term 'program' . so i have wrote event function to handle it , but i found out that ziron did not detect it? any help please. http://www.freewebs.com/ogremagic/index.htm | ||||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1042] - posted: 2012-05-09 22:25:08 plugins will only detected keywords after the default "program" keyword, else you still should be able to detect it further down in source. can you show the source for the test plugin? 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 | [1044] - posted: 2012-05-09 22:45:21 ok, the point here is to detect the first term 'program' not the keyword after it. the trick here is with the plugin we can navigate the source code from the start. http://www.freewebs.com/ogremagic/index.htm | ||||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1045] - posted: 2012-05-09 22:50:07 Why would you want to do that? Ziron is a programming language not a compiler "kit" if you want to add a custom type, this will be possible anyways without detecting program, new types will be possible to add such as WIN32OBJ and so on. 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 | [1046] - posted: 2012-05-09 23:07:25 do you mean that , make event handler for 'WIN32OBJ' term and register it as a keyword? also , by scanning the source code from plugin from that start will give the plugin more facility, take an example. Code:
http://www.freewebs.com/ogremagic/index.htm | ||||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1048] - posted: 2012-05-11 12:37:35 you can do that without keyword detection, you do that with FileEntry event, and about WIN32OBJ - not exactly, i was working on a set of pf functions for developing new file formats, such as linux bin files and so on, but right now i'm concentrating on other areas. However, i will try to get back around to adding the rest of the functions. 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 | [1049] - posted: 2012-05-11 15:35:43
does that mean i can use Ziron_Execute pf function from inside FileEntry event?
i know and good luck , also thanks for starting adding of SSE instruction. http://www.freewebs.com/ogremagic/index.htm | ||||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1052] - posted: 2012-05-11 17:48:11 the buffer would be rewritten from FileEntry, program etc etc is actually not code so it would not be possible to use as inside Ziron_Execute anyways. Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Currently Active Users: There are currently 12 user(s) online. 0 member(s) and 12 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 |