PDA

View Full Version : Object class


ABC123

whanigsberg
09-23-2002, 08:51 AM
Hi all,

This weekend I took the first tiny steps in migrating a large application to from Version 4.5 Version 5. I am happy to say that it has gone smoothly given the magnitude of the task.]

I did have some code fail. In particular, in one script I test for an object's class and if it is = to "form" get the name and do something with it.

The problem was that in 5 objectname.class returns something like "typein field" rather than "field" so the test fails.

Of course, this was easy to fix by replacing = with containsi but I am left wondering whether there are any other differences to class nomenclature in V5.

Thanks,
Bill

whanigsberg
09-23-2002, 09:24 AM
Among the many typos in my question, is one importance which should have been the following:

"...in one script I test for an object's class and if it is equal to "field" get the object's name and do something with it."

apologies,
Bill