Re: map anomaly

new topic     » goto parent     » topic index » view thread      » older message » newer message
jimcbrown said...
eukat said...


Give the first (or last) element of your maps a unique label, then you can test that element in that object for being a map in a type test you write.

eukat

That won't work. Integers (and therefore the value directly stored in the map variable itself) don't have elements.


Your runtime type check code cannot open the map and look at the first (or last) element, thereby doing a pass/fail on opening the map and a pass/fail on the first (or last) element?

WhatEverNickYouLikeHere

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu