@ADDR

Top  Previous  Next

Syntax:

 

@ADDR(<varname>)

 

Description:

 

This function returns a pointer to the address in memory of the local variable <varname>, where <varname> is one of %1 .. %9 or %A .. %Z. This function is only useful in conjunction with the functions @SENDMSG or @LIB.

By passing the address of a variable to a window message function or library function, the function can write data into the variable. Normally the variable should be pre-set to an adequate length, because external functions are unable to dynamically resize the variable in order to provide the required space.

The variable name <varname> must be enclosed in quotes to ensure that the variable name, and not its contents, is passed to the @ADDR function.

 

OK:

 

Unchanged.

 

See also:

 


@ADJUST