go to post Francis Galiegue · May 20, 2016 Nice one! I didn't know about the ccontrol command, but indeed it is in there...
go to post Francis Galiegue · May 20, 2016 This command worked... However this does not answer my initial question: how come the install found the instance despite the fact that I completely removed the install directory?
go to post Francis Galiegue · May 2, 2016 I'm only seeing this post now... Great source of information! Now I wish I had more practice... But this is close to what I want to do. Don't you want to contribute to the project? :p
go to post Francis Galiegue · May 1, 2016 I was not asking about how to name things but about how to make this package accessible to everyone
go to post Francis Galiegue · Apr 30, 2016 Hmm... I don't use an %Installer... And in a default Caché installation there is no %ALL namespace. What would you say is the less intrusive solution, then?
go to post Francis Galiegue · Apr 29, 2016 Well, I am on it right now but it does not quite answer my question... Still, it is a useful resource, so I take as many lessons as I deem are useful to me...
go to post Francis Galiegue · Apr 29, 2016 Definitely! This should be in InterSystem's official documentation...
go to post Francis Galiegue · Apr 29, 2016 Side note... While I don't quite understand the need here, this is another case where a table of deprecated classes/methods/keywords would be useful... Since which version of Caché is this class deprecated? Unfortunately we don't know :(
go to post Francis Galiegue · Apr 27, 2016 I know of this syntax. However, the "problem" to me here is that all invididual variables declared here are implicitly created :/ If you create a lot of variables this way, this can become very hard to track what the code exactly does...
go to post Francis Galiegue · Apr 27, 2016 Very nice! One question: since in this code tStmt seems to be a prepared statement, can I just declare it as a parameter to the class and reuse it when I need it?
go to post Francis Galiegue · Apr 25, 2016 Hmm, interesting... But does it work recursively? Ie, if I have class C inherits class B inherits class A, is $classMethod("C", "%IsA", "A") true?
go to post Francis Galiegue · Apr 21, 2016 Useful information, thanks! I can add a cache-2010.1 tag to that particular namespace change rule I have...
go to post Francis Galiegue · Apr 21, 2016 Why do you set $namespace twice? No need for it if you use new $namespace, right?
go to post Francis Galiegue · Apr 20, 2016 Hello! First things first: /latest/ is a great idea! Now, on to my personal feedback which is obviously biased: I am primarily a Java developer (with prior experience in C), and am seeking to know ObjectScript better... As such, I find that two things are fundamentally missing: as mentioned in one of my other posts, a reference documentation of changes between the different versions of Caché (introduction of new classes; classes deprecated from n to n+1; changes in classes between n and n+1; or even new keywords): Java has @since, C has manpages and CONFORMING TO, which both give great, useful information... But there is no equivalent in COS documentation; an official guide for coding guidelines. All in all, this is rather a feedback on the content rather than the form; not sure whether this is what you expected, but here be dragons :p
go to post Francis Galiegue · Apr 19, 2016 Not an answer per se, but why do you specify both "extends %Persistent" and "ClassType = persistent"? Is it necessary?
go to post Francis Galiegue · Apr 18, 2016 Good catch!And while we're at it, it'd be nice if it could also "dedent" preprocessor directives... Except for #dim.It's quite confusing to see a #if something on the same level as a bona fide statement...
go to post Francis Galiegue · Apr 14, 2016 Thanks for the pointers!I have a lot of experimentation to do, it seems :)
go to post Francis Galiegue · Apr 14, 2016 I didn't know about ^SYS.MONLBL.As to why unit testing, it's because unit testing is used along with code coverage: you run unit tests, and you check what parts of your production code is taken/non taken. Timings are indeed irrelevant.The plan is to run unit tests with coverage activated, scan both the test results and monitoring results and collect the results.
go to post Francis Galiegue · Apr 11, 2016 Eduard,I was aware of the new If not setting $TEST.And again, let me insist: shorter doesn't mean better :p