size = dv.siz(sctaddr [, error]);
DV.SIZ is used to determine the size of a mass storage device in llinks.
Normally, if DV.SIZ is passed an SCT address that is not an assigned mass storage device, it will terminate the program by calling ERROR. However, if you pass an "error" function that does not terminate the program, you can use DV.SIZ to test that a device is an assigned mass storage device. By using an initializing call to GT.DSZ, you can make DV.SIZ ignore the fact that a device is released.
Copyright © 1996, Thinkage Ltd.