Pawn Compiler Library stopped working
#1

Good afternoon, I use this code
http://pastebin.com/0yqmXPQG

and it appeared that the Pawn Compiler Library stopped working...
Does anyone have any suggestions of what?
Reply
#2

i just tested that code, and my compiler didnt crash, works perfect..
Reply
#3

Код:
isEmail(email[])
{
    if (!email[0]) return false;
 
    new
        len = strlen(email),
        arroba = 0,
        ponto = 0;
 
    for(arroba = 0 ; arroba < len; arroba++) {
        if(!(email[arroba] - 64)) {
            for( ponto = arroba; ponto < len; ponto++) {
                if(!(email[ponto] - 46)) {
                    break;
                }
            }
            break;
        }
    }
    return (arroba + 1 < ponto < len && ponto && arroba); //not fixed
}
syntax looks 'for' incorrectly

or
return (arroba + 1 < ponto < len && ponto && arroba);

should return data type -inf, ..., -1, 0, 1, 2, ..., inf or "a", "abc"

and with you it looks like the condition "if"
Reply
#4

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
syntax looks 'for' incorrectly

or
return (arroba + 1 < ponto < len && ponto && arroba);

should return data type -inf, ..., -1, 0, 1, 2, ..., inf or "a", "abc"

and with you it looks like the condition "if"
Dude..this is Bullshit.

You should better inform you.

PHP код:
return (xxx); //this can only return 1 or 0 ...if the condition is true, then 1 else 0.
//And you can even write:
for( ;; )
{
   
//This would be an endless Loop

So the code is write..i think he just missed a bracket
Reply
#5

Try using latest Zeex compiler.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)