Hi,
I have Objectscript routine stored in an external Linux file which I've called /my/home/DisplayDB.int
This file does not include any Class definitions and is simply a set a Object script routines. I think this is called INT objectscript
The file looks like this:
set db=##class(Config.Databases).DatabasesByServer("",.dbList)
for i=1:1:$LENGTH(dbList,",") {
set dbName= $PIECE(dbList,",",i)
write dbName,!
}
How do I load and compile the Objectscript code?
Do $system.OBJ.Load("/my/home/DisplayDB.int", "ck")
How would I run the code?
do ^DisplayDB
Thanks in advance for any help