View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0020026Studio Bugs[All Projects] FunctionsPublic2016-01-11 15:162016-11-28 11:39
Assigned ToFritz 
PriorityMediumSeverityC - GeneralReproducibility100%
PlatformHTML5OS OS Version
Summary0020026: Functions: is_undefined() does not work on HTML5
DescriptionGMS 1.4.1690

var m = ds_map_create();
m[? "aaa"] = "aaa";
m[? "bbb"] = "bbb";

show_message(m[? "aaa"]);
show_message(m[? "bbb"]);
show_message(is_undefined(m[? "ccc"])); // Windows: true, HTML5: false

Steps To Reproduce1) Run the project on windows, the third message box should show 1
2) Run the project on HTML5, the third message box should show 0
Additional InformationOriginal helpdesk ticket: [^]
GM Version1.4.1690
Attached Files

- Relationships

-  Notes
Fritz (Developer)
2016-04-06 15:28

Problem wasn't is_undefined it was that ds_map_find_value (called by the ? operator) wasn't returning undefined

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker