Issue with Arrays of Names

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
ZippeyKeys12
Posts: 111
Joined: Wed Jun 15, 2016 2:49 pm

Issue with Arrays of Names

Post by ZippeyKeys12 »

Spoiler: Example Code with Error
Spoiler: Example Working Code
If I don't cast SName into an int before pushing, I get: "Numeric type expected, got a name" for both lines that Push. Happens with StateLabels too.
Btw, I'm using the latest devbuild.
User avatar
Player701
 
 
Posts: 1636
Joined: Wed May 13, 2009 3:15 am
Graphics Processor: nVidia with Vulkan support
Contact:

Re: Issue with Arrays of Names

Post by Player701 »

Really sorry for the bump, but why was this closed as "Duplicate"? I couldn't find any thread where a similar issue is described. BTW, it is still present in the current version, though I guess it's less of a bug and more of an unimplemented feature... Would be nice if I could avoid these casts, as I'm using an array of names in my code. But it's not the end of the world if there is currently no possibility to implement it.
Post Reply

Return to “Closed Bugs [GZDoom]”