qb45advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SADD Function Details
  QuickSCREEN      Details      Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
SADD Function Details
 
Syntax
  SADD(stringvariable)
 
The SADD function returns the address of a string as an offset (near
pointer) from the current data segment. The offset is a two-byte integer.
SADD is most often used in mixed-language programming.
 
The argument may be a simple string variable or a single element of a string
array. You may not use fixed-length string arguments.
 
Use this function with care because strings can move in the BASIC string
space (storage area) at any time. SADD works only with string variables
stored in DGROUP.
 
  Note: Do not add characters to the beginning or end of a string passed
        using SADD and LEN. Adding characters may produce a run-time error.