[4.2.0] Read/write of dynamic Name array returns error

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

[4.2.0] Read/write of dynamic Name array returns error

Postby Zhs2 » Wed Sep 18, 2019 3:27 pm

That error being "Numeric type expected, got a name". This makes sense in the fact that the backing for a name array is of type int, but needing to cast to type int before doing a Push or using Find is not very intuitive.

Example pk3 attached, observe and run.
(509 Bytes) Downloaded 182 times
User avatar
Power of meh.
Joined: 07 Nov 2008
Location: Maryland, USA, but probably also in someone's mod somewhere
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: ATI/AMD with Vulkan Support

Re: [4.2.0] Read/write of dynamic Name array returns error

Postby Player701 » Thu Sep 19, 2019 12:22 pm

This looks like a duplicate of another report which was, for some reason, also deemed a duplicate - though no link to the original was ever given. And yet, after all this time, the issue is still here, apparently.
User avatar
Joined: 13 May 2009
Location: Russian Federation
Discord: Player701#8214
Operating System: Windows 10/8.1/8 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Return to Bugs

Who is online

Users browsing this forum: No registered users and 2 guests