Register | Login
Forum Index > Requests and Feedback > get entire line
Author Message
Pages: 1 2 3 4 5 6 7 8
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[454] - posted: 2011-11-07 22:17:23


ok , but the plugin system is made to allow user extend ziron without register new token in
Ziron itself.

i mean , why you will put 'into' in the coming release , you will not expect what the user
want , so the plugin system here for that.

hope you got me.

http://www.freewebs.com/ogremagic/index.htm
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[455] - posted: 2011-11-07 22:22:56
no, into is an assembly opcode, all opcodes are registered, some keywords are taken, the list i need to finish is the opcodes/tokens that are that are reserved such as

Code:
into
int
push
pop
in
out


etc etc etc

as you can see

Code:
eax = Ziron_ExpectNextToken(448);


into is already registered in the ziron assembler, it just has not been added to the framework enum zirTokens, because there is all asm opcodes i need to finish adding.

e.g. opcode add is 405, which will be zirADD and xor is 551 etc....

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[456] - posted: 2011-11-07 22:26:22

ok , i see your point.

but what about my previous post #[452]

http://www.freewebs.com/ogremagic/index.htm
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[457] - posted: 2011-11-07 22:31:35
as for post 452, maybe that is an option, you can test the performance degrade for both and see which is faster.. ps there is a function in latest updates named strIndexOf

it takes 2 params buffer to search and string to find (in very latest i just updated has a fix to it)

will return -1 if not found else 0+ if found.

Code:
eax = strIndexOf('my long string', '$');
//eax is -1

eax = strIndexOf('my long string', 'str');
//eax is 8


Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[458] - posted: 2011-11-07 22:34:54

great, as usual.smile

http://www.freewebs.com/ogremagic/index.htm
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[459] - posted: 2011-11-07 22:35:44

BTW , where can i find it.

http://www.freewebs.com/ogremagic/index.htm
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[460] - posted: 2011-11-07 23:41:49
in the latest 26.6+ in strings.zir

Code:
#include 'strings.zir';


smile

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[461] - posted: 2011-11-08 09:52:47
got that error

Ziron Compiler 1.1.27.6
Copyright (C) 2011. OverHertz Ltd. All rights reserved.
--------------------------------------------
11/8/2011 9:50:51 AM
--------------------------------------------

PlugSys: Emit plugin has loaded!
[296,3]: Unexpected character "}". in [strings.zir]
Code:
}

--------------------------------------------


http://www.freewebs.com/ogremagic/index.htm
Pages: 1 2 3 4 5 6 7 8
create new reply


Quick reply:

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
const Copyright = '2011-2024 © OverHertz Ltd. All rights reserved.';
Web development by OverHertz Ltd