11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Routine, Debugging, and Other CommandsSET a(1)=1,a(1,1)=11SET x=a(1)SET y=a(1,1)ZKILL a(1)SET z=a(1,1)WRITE "x=",x," y=",y," z=",zreturns x=1 y=11 z=11. However, then issuing a:WRITE a(1)generates an error.See Also• KILL commandZLOADLoads routines into the routine buffer.ZLOAD:pc routineZL:pc routineArgumentspcroutineOptional — A postconditional expression.Optional — The routine to be loaded. If omitted, <strong>Caché</strong> loads a routinefrom the current device.DescriptionThe ZLOAD command loads <strong>Caché</strong> <strong>ObjectScript</strong> routines into the routine buffer. ZLOADhas two forms:• ZLOAD without an argument• ZLOAD with an argumentZLOAD without an ArgumentThe ZLOAD command without an argument loads a <strong>Caché</strong> <strong>ObjectScript</strong> routine from thecurrent device into the routine buffer. To load a routine from a device, execute the following:1. An OPEN command to open the device.394 <strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!