SADD: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
(Created page with "The '''SADD''' function returns the address of a STRING variable as an offset from the current data segment. {{PageSyntax}} :: 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 pa...")
 
No edit summary
Line 11: Line 11:




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




{{PageNavigation}}
{{PageNavigation}}

Revision as of 02:33, 23 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