SADD: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 11: Line 11:




''See also:''
{{PageSeeAlso}}
* [[VARSEG]], [[VARPTR]], [[DEF SEG]]
* [[VARSEG]], [[VARPTR]], [[DEF SEG]]




{{PageNavigation}}
{{PageNavigation}}

Latest revision as of 01:03, 29 January 2023

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



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link