◄Syntax► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back► ────────────────────────────────────────────────────────────────────────────── SADD returns the address of a string as an offset from the current data segment. It is typically used in mixed-language programming to obtain far addresses before passing far strings to procedures written in other languages. The offset is a 2-byte integer. SADD (stringvariable$) Usage Notes ■ SADD can be used with both near and far strings. To obtain the segment address of a far string, use the SSEG function. ■ In previous versions of BASIC, SADD was used only for near strings. Important ■ Use this function with care because strings can move in the BASIC string space (storage area) at any time. ■ Do not add characters to the beginning or end of a string passed using SADD and LEN. Adding characters may cause BASIC to generate a run-time error.