SAdd
 
Returns a pointer to a string variable's data

Syntax
Usage

result = SAdd ( str )

Parameters

str
the string expression or variable to get the address of

Return Value

A pointer to the data associated with str.

Description

Returns the memory offset of the string data in the string variable.

Example

'' Compile with -lang qb or fblite
Print SAdd(s$)
s$ = "hello"
Print SAdd(s$)
s$ = "abcdefg, 1234567, 54321"
Print SAdd(s$)
Sleep


Differences from QB

  • None

See also