NewBie's Corner Session 6 If and Kill commands
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
Click on the Caché Cube in your system tray and select Terminal to try out the commands.
As in other computer programming languages, the If command is the primary decision makes.
If command with numeric operands
Set X=12
If X=12 Set X=13
Write X
13
If command with alphanumeric operands
Set X="ABC "
If X="ABC " Set X="XYZ"
Write X
XYZ
Whenever alphanumeric data is being referenced, quotation marks are required.
Kill command


