Skip to content
Low-level programming · Higher-level thinking
Login Register
Forum / Plugins

#define plugin

A community discussion post from the original code:zIRON forum.

Replies

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

very nice, thank you.

btw, does ziron include strings.zir automatically?

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

Colin admin
Posts
928
Threads
49
Location
Bulgaria

no, but if you include ch.zir then it is included inside, and some others include it.

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

does uses statment works with inline function or not.

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

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

i have new problem with the new beat release.

this line cause error

 if(strCmp(ebx, Ziron_GetStringValue()))    

it works with previous ziron.

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

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

i have new problem with the new beat release.

this line cause error

 if(strCmp(ebx, Ziron_GetStringValue()))    

it works with previous ziron.

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

Colin admin
Posts
928
Threads
49
Location
Bulgaria

strCmp is now a macro, since i will be adding big optimizations to strCmp, if you prefere you can use the old strCmp by adding _ in front of it

_strCmp(...

optionally remove the function call and replace it with eax and:

eax = Ziron_GetStringValue()
...
Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

i have tried both of them but get access violation.

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

Colin admin
Posts
928
Threads
49
Location
Bulgaria

re-uploaded beta - fixed some errors in assembler, tried and working good :)

			ebx = @parArr;
			for (edi = cnt downto 0) {
				eax = Ziron_GetStringValue();
				if(strCmp(ebx, eax)) 
				{
					H_strcat(@val,' $'); 
					break; 
				}     
				ebx += 128;       
			}

this also works :)