Difference between revisions of "SADD"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
m
imported>Clippy
m
 
Line 2: Line 2:




:::::::''Syntax:'' SADD(stringvariable)
{{PageSyntax}}
:: SADD(stringvariable)




Line 11: Line 12:


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




{{PageNavigation}}
{{PageNavigation}}

Latest revision as of 00:45, 10 May 2011

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:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page