SIZEOF function

Purpose: SIZEOF returns integer that gives the size in bytes of memory storage space required by a variable.


 Syntax:

 RetVal% = SIZEOF(Variable)

 Parameters:

  • RetVal% Returned unsigned integer that gives the size in bytes of memory storage space required by Variable.
  • Variable String or numeric variable or pointer.

Example:


 A# = SIZEOF(L#)

Result:

A# will contain 8

BCX Console Sample Programs using SIZEOF function.

S70.bas, S79.bas, S85.bas, S90.bas, S101.bas, S105.bas, S126.bas, S128.bas