Author | Message | ||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1023] - posted: 2012-05-07 17:10:27 Not in the office right now, but something along these lines: note code is mostly psuedo Code:
and with your dim event: Code:
hope that helps. 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 | [1024] - posted: 2012-05-07 20:02:18 strange something here!!!!!! here is my ptr event function Code:
and register it as this Code:
but ziron did not call event_Ptr function at all and here is a line of my test program Code:
http://www.freewebs.com/ogremagic/index.htm | ||
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [1026] - posted: 2012-05-07 20:28:57 I found that when 'ptr' is the first word in the line Ziron will detect ptr and call event handler , and if 'ptr' is in the middle of line or at end of the line ziron will not detect it. http://www.freewebs.com/ogremagic/index.htm | ||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1027] - posted: 2012-05-07 20:31:20 OK i will finish my current code i'm writing then i will take a look for any internal bugs 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 | [1029] - posted: 2012-05-07 21:59:07 OK i believe i see the problem http://www.codeziron.com/uploads/releases/ziron.compiler.beta.rar i've updated the beta version with a new pf function, change: Code:
to Code:
let me know 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 | [1030] - posted: 2012-05-07 22:56:58 ok , got Access violation when compiling the test program here is the log file
http://www.freewebs.com/ogremagic/index.htm | ||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1031] - posted: 2012-05-08 18:01:17 Seems there was a bug with Ziron_SetTokenType, it was getting address of peeknexttoken in GetFunction, anyhow i've fixed that and 1 other thing. I've re-uploaded the beta and here is a sample: Code:
usage in source: Code:
should output Found PTR! Hope this time everything is fine 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 | [1032] - posted: 2012-05-08 20:43:43 ok , works fin now. but i think you forget debug print statement in Ziron , because it prints term 'ptr' and '5000' tow times when compiling a test program. http://www.freewebs.com/ogremagic/index.htm |
Currently Active Users: There are currently 1 user(s) online. 0 member(s) and 1 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 |