Question Arturo Masero · Feb 17, 2022 Help with indirection and variable scope Hello fellows, I need you wisdom. In my organization we code in ObjectScript and .int everyday. When I joined nobody knew barely nothing about classes and their use was almost only for storage definition purpose. During my self-learning in caché I discovered the object oriented programming and class developing was possible in caché and started to code in .cls . Being something self-taught, I may have some basic doubts I'd have missed in my documentation readings. #ObjectScript #Caché 0 9 0 607
Question Arturo Masero · Nov 3, 2021 How can I reset cached routines? Hello, I don't know if the title is accurate enough. I have a legacy code that I need to optimize. It's a routine written in objectscript. It accepts 4 parameters and runs 6 nested FOR...$ORDER reading a big global. The thing is when I run the routine the first time it takes around 60 seconds to run. If I run it again it takes 5 seconds. If I wait around 6 to 10 minutes to run it again, it takes 60 seconds again, but if I run it every 1, 2, 3... minutes it still takes only 5 seconds to run. #Debugging #ObjectScript #Caché 0 9 0 463