[Duplicate] Issue with Arrays of Names

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Issue with Arrays of Names

Postby ZippeyKeys12 » Mon May 07, 2018 7:56 pm

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.
Joined: 15 Jun 2016

Re: Issue with Arrays of Names

Postby Player701 » Sun Nov 18, 2018 1:55 pm

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.
User avatar
You are now breathing manually.
Joined: 13 May 2009
Location: Russian Federation
Discord: Player701#8214

Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 0 guests