Home|Management Portal|Index
Caché ObjectScript Tutorial
« »

In order to begin practicing using ObjectScript, you need to start the Caché Terminal. Click the Caché cube iconin the task bar and select Terminal from the menu. This brings up the terminal window, and you can see from the prompt that we are in the USER namespace. Namespaces are logical directories, containing routines (programs) and globals (data).
Caché Terminal allows you to type ObjectScript commands and see the results immediately. In this chapter, most pages will contain one or two simulated Caché Terminal sessions like the one below demonstrating several examples mentioned in the text. Later on we'll use Caché Studio to write routines.
When you first start Caché 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\