KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: VOLUME ATTRIBUTES parameters
PRODUCT: 4D | VERSION: 11 | PLATFORM: Mac & Win
Published On: May 14, 2009

The VOLUME ATTRIBUTES command takes four parameters: volume (string), size (number), used (number), and free (number). It is important that for the number attributes of this command that you use a Real rather than Long Integer data type. Long Integer is a 4-byte integer and ranges up to 2^31 as its maximum value. It is quite common for a volume's numeric parameters to extend beyond the maximum limit of a Long Integer (2147483648) as they are expressed in bytes.