> You've got a point about mixed arrays. 4D doesn't deal with them well. I > couldn't get 4D to let me change longs[2] to an object, for instance, > without loosing the longint values.
Yeah, that's taking me back...you can get 4D to coerce anything into text, unless it's an object...in which case you know it's an object. But the coercion isn't a real coercion, it can clear out values. So it's not safe. That might have been the show stopper. Take this the right way: I'm not looking at your code samples. I have not dog in this fight. I checked out these features, found they were lacking in some ways for some purposes, bitched about it on the Forums, made some feature requests...and then got back to my life. > It sounds like you are working on a project where you want to be able to > import a data object from a json and be able to completely organize the > database based on the data found. Nope. I want to emulate some of the benefits of structs. 4D just doesn't seem to see the need. I don't, can't, and won't understand that - it makes no sense to me. Rolling my own schema+validation+object creator is a pretty desperate cry for help on it's own. Who does that these days? No one. It's a crazy piece of infrastructure to have to add to a language through custom code...it's just fundamental bits of plumbing that should be there. And then it turned out to be impossible to do satisfactorily with existing native tools. Gave up. Fortunately, I've got a keen interest in a lot of things, so it's not hard for me to move on to a new challenge. Squirrel! P.S. Squirrels and Woodpeckers are two things that I really do miss in Australia. ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

