namespace
#1

is it possible to use namespaces in PAWN?

c++ example

Код:
namespace a {
    int a=1,b=2;
}

int main () {
    std::cout << a::a << a::b << std::endl;
    system("PAUSE");
    return EXIT_SUCCESS;
}
Reply
#2

simply no, pawn don't support it
Reply
#3

Quote:
Originally Posted by park4bmx
Посмотреть сообщение
simply no, pawn don't support it
funny thing is pawno highlights 'namespace' blue, oh well...
Reply
#4

http://www.compuphase.com/pawn/Pawn_Language_Guide.pdf

if its in there, then it has it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)