Float enum - function param bug?
As i can see there is a problem with float variables created with enum and used as a function parameter
Ex: PHP Code:
And also fooling compiler with this: PHP Code:
Code:
Run time error 5: memory access |
Re: Float enum - function param bug?
PHP Code:
PHP Code:
|
Re: Float enum - function param bug?
Thanks, but is this behaviour normal? Since both arrays have the same type and dimension.
|
Re: Float enum - function param bug?
Enums are kinda hacky and dumb, dunno why it's generating the first error. Maybe someone that knows more about the compiler can tell you.
|
All times are GMT -4. The time now is 12:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.