Article Jose Ruperez · Oct 13, 2016 1m read How to write COS code inside a unix script Here you have an easy way to write and execute COS code from your unix scripts. This way one does not need to write routines or even open Studio or Atelier. It can be an option for simple and small actions for instance things like installation tasks or compiling.See sample bash script (compile.sh) to compile classes: #Beginner #Code Snippet #Compiler #Development Environment #Object Data Model #ObjectScript #System Administration #Caché 6 2 0 900
Article Jose Ruperez · Oct 12, 2016 1m read Lines of Code With a routine like this one, you can quickly calculate how many lines of code you are working with. And it is not only for routines, it works for classes because remember that classes generate routines ! Here you have the routine source code: #Beginner #Caché #Code Snippet #Terminal #ObjectScript #Tips & Tricks 5 4 0 825
Article Jose Ruperez · Oct 11, 2016 4m read How to execute terminal commands from a webpage Now, let’s say you can’t access the terminal or simply you just rather execute it from a web interface. In this article, I will show you how to execute terminal commands from a simple web page. For example, in the image below you see how we execute $zv on a webpage: #Beginner #Code Snippet #Frontend #ObjectScript #Terminal #Tips & Tricks #Caché 2 7 0 31.8K