[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!
User avatar
Zhs2
Posts: 1271
Joined: Fri Nov 07, 2008 3:29 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: Maryland, USA, but probably also in someone's mod somewhere
Contact:

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

Post by Zhs2 »

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.
Attachments
numerictypeexpected.pk3
(509 Bytes) Downloaded 475 times
User avatar
Player701
 
 
Posts: 1640
Joined: Wed May 13, 2009 3:15 am
Graphics Processor: nVidia with Vulkan support
Contact:

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

Post by Player701 »

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.
Post Reply

Return to “Bugs [GZDoom]”