Futurebasic/Language/Reference/sizeof

Description
This function returns the number of bytes of memory allocated for a particular variable, or the number of bytes allocated for each variable of a particular specified type.

If you specify, it should either be the name of a type defined previously in your program (in a   statement or a   statement), or the name of one of FutureBasic's built-in types (such as  ,  ,  , etc.). returns the size of a variable of that type.

If you specify, then   should be the name of a type which was previously declared to be a pointer to some other type (in a   statement). In this case,  returns the size of the type that   points to. Note that if you omit the " " symbol,  just returns the size of a pointer variable (usually 4).

If you specify, then   should be the name of a type which was previously declared to be a handle to some other type (in a   statement). In this case,  returns the size of the type referenced by. Note that if you omit the " " symbols,  just returns the size of a handle variable (usually 4).

Note
returns the number of bytes reserved in memory for the string variable. This is not the same thing as.

If a variable  contains the handle to a relocatable block (of a possibly unknown type), you can use the Toolbox function   to determine the size of the block.