In order to begin practicing using ObjectScript, you need to start the Caché Terminal. Click the Caché cube icon
in the task bar and select
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.