07.03.2015, 19:45
(
Last edited by Rancho; 22/03/2015 at 01:44 PM.
)
What is QPreprocessor?
QPreprocessor is tokeniser and parser which is written for adding new features to Pawn. It supports new features like namespaces. It is currently tested on 37 scripts.
What are the advantages?
At the moment, there are not much advantages. We will explain each advantage in this topic. The list:
What are the disadvantages?
New Directives
At the moment there is just one new directive. In future, I am planning to add more directives.
New Constants
Verbatim strings
Long strings
Formatting strings
NAMESPACES!
INSTALLATION:
Download:
Source + Binary
QPreprocessor is tokeniser and parser which is written for adding new features to Pawn. It supports new features like namespaces. It is currently tested on 37 scripts.
What are the advantages?
At the moment, there are not much advantages. We will explain each advantage in this topic. The list:
Quote:
|
Quote:
|
At the moment there is just one new directive. In future, I am planning to add more directives.
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
Code:
new str[256]; new str2[256]; $str = "hello" + " world"; new numb = 5; new Float:flo = 45.0; $str2 = "Str 1 contains:" + $str + " and a number: " + .numb + " and a float: " + :flo + " and now manuel flo: " + '0.2f'flo; printf("%s", str2); Code:
new str [256]; new str2 [256]; format(str, sizeof(str), "hello world",0); new numb =5; new Float:flo =45.0; format(str2, sizeof(str2), "Str 1 contains:%s and a number: %d and a float: %f and now manuel flo: %0.2f",str,numb,flo,flo,0); printf("%s",str2); |
Quote:
|
- Download '.zip' package. If you want to compile yourself, you have to install MinGW.
- Otherwise copy '.zip/pawno' folder contents into 'your server/pawno'
Download:
Source + Binary