Stanislav Gromov

Results 81 comments of Stanislav Gromov

Thanks to @VVWVV's work, starting from release 3.10.2 it's possible to use static enumerations to define constants with a scope limited to a single file. ```Pawn static enum { ARRAY_SIZE...

@YashasSamaga, so how do you imagine "fixing" this? Treat all identifiers defined with `static const` as compile-time constants instead of read-only variables? Such change can probably break existing code.

Also it would be pretty strange to the same identifier acting as both a variable and a compile-time constant at the same time, IMHO.

I know this issue is kind of old, but since it's still not fully resolved, what if we introduce a `static const const` combination of class specifiers, which would allow...

> Could you explain little bit about why only unnamed tag definition appears error (i mean i guess there's shouldn't be any error, no? Coz each enum have own fields,...

Tried to simplify the MCVE as much as possible, got to the following: **test.inc:** ```Pawn /* 3 empty lines */ new a, b;//

@Y-Less If the user wants to make a pass-by-reference argument named-only, should the compiler expect the `.` first ```Pawn Func(.&arg) {} ``` , or the `&`? ```Pawn Func(&.arg) {} ```

I had a similar concept in mind ever since I created this fork, but while I like the idea of dynamic memory allocation in Pawn, I don't think I would...

> I was hoping to make a samp plugin out of this, as I would at least want the memory checks to sandbox scripts properly. Why would you want a...

Judging by the video in the 1'st post, the problem must be in character conversion from `char` to `cell` - since both types are signed, the conversion is probably done...