SADD

From QB64 Wiki
Revision as of 01:00, 27 December 2009 by imported>Stylin (PDS does not store strings in far memory unless a command-line switch is used)
Jump to navigation Jump to search

The SADD function returns the address of a STRING variable as an offset from the current data segment.



Syntax: SADD(stringvariable)


  • The argument may be a simple string variable or a single element of a string array. You may not use fixed-length strings.
  • Use this function carefully because strings can move in the BASIC string space storage area at any time.
  • Adding characters may produce a run-time error. Don't add characters to the ends of parameters.



See also: VARSEG, VARPTR, DEF SEG


Navigation:

Go to Keyword Reference - Alphabetical

Go to Keyword Reference - By usage