Skip to main content

Using the Terminal

Terminal is not an interactive Basic environment. In fact, it is an interactive environment for our other scripting language: ObjectScript. However, ObjectScript can call Basic, and vice versa. You'll run Basic routines from here using the ObjectScript Do and Write commands.

When you first start the Terminal, you will be in the USER namespace. Use do ^%CD to change to the SAMPLES namespace. From here, you can look at the provided samples and do your own work.

USER>do ^%CD

Namespace: SAMPLES
You're in namespace SAMPLES
Default directory is c:\InterSystems\Cache\mgr\samples\

FeedbackOpens in a new tab