Author | Message | ||
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [339] ZirToken - posted: 2011-11-05 09:14:49 Hi sometimes , the user need to put his own ZirToken that was not in enum ZirToken. foe example i want my basic plugin pares this code correctly Code:
because '$' is not included as a ZirToken , Ziron remove it. the good solution may be adding Ziron_RegisterToken just like Ziron_RegisterKeyword to allow the user to make his own Tokens. what do you think ? http://www.freewebs.com/ogremagic/index.htm | ||
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [340] - posted: 2011-11-05 10:19:39 also i need this Ziron_UnRegisterToken. http://www.freewebs.com/ogremagic/index.htm | ||
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [341] - posted: 2011-11-05 10:43:31 also , how can i check the end of the line ? http://www.freewebs.com/ogremagic/index.htm | ||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [343] - posted: 2011-11-05 13:21:19 OK i have made it possible to detect $, however new lines are not detectable since they are not classified as a identifiers, i wil think about an alternative method for the plugin system. 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 | [344] - posted: 2011-11-05 14:31:54 OK, i've added 2 new pf functions Ziron_IsNextLineBreak this function will return true if a line break is found before the next valid token. and UnregisterKeyword Unregisters any of your registered keywords. 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 | [346] - posted: 2011-11-05 15:42:20 thank you very much. but i was talking about Tokens no keyword , also register a token give the user the freedum to add his desired Token. http://www.freewebs.com/ogremagic/index.htm | ||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [347] - posted: 2011-11-05 15:53:23 Tokens will not be possible to register, because tokens are inbuilt into the assembler for high speed comparison, none valid tokens are detected as zirIdent, so it is possible to write a function to check your own custom tokens. 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 | [349] - posted: 2011-11-05 16:05:53
ok , could you please give small code that demonstrate that. BTW Dim KeyWord can pares this Code:
i will do those ,but when i know how to pares ! # Code:
http://www.freewebs.com/ogremagic/index.htm |
Currently Active Users: There are currently 10 user(s) online. 0 member(s) and 10 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 |