I suppose it doesn't matter all that much, but I just think that doing this
#asm
mov dword [$Variable], eax
#endasm
could be changed to this:
#asm mov dword [$Variable], eax
where the syntax is either
#asm
{statements}
#endasm
or
#asm {statement}
It seems like this hasn't been noticed. Well anyways, especially in the alpha stage for defining labels, and for some other stuff too,
#asm SomeLabel:
would be better than
#asm
SomeLabel:
#endasm
in my opinion...
I have no problems with labels here. Both the colon form and goto work fin in every test.
And I did note your request.
Okay thanks, I hadn't seen that labels could be created now, I noticed a while ago that they couldn't.
Edit - Hmm, on my computer they don't seem to work - "syntax error - :" GOTO works fine though.
Lables have to be at the beginning of the line.
I see, it wasn't liking my label that began with a '_' character, maybe that could be fixed. This is what was causing the problem:
_Again_Whitespace:
That I can do ;)
i stick :)
It would be great if Paul would add two callbacks to external functions (somewhere implemented as "return true") into dll-startup stub like dllOnLoad and dllOnUnload
if we want to be notified for load_dll event we can use
global sub dllOnLoad(),bool
{
ÂÃ, if exename="x" and exesize=y and logged_user="z" return true; // allow loading dll
ÂÃ, return false; // deny
}
but if you do not write this function, default function from library (return true) will be linked into dll