Difference between revisions of "StrSet"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Talkie Toaster
imported>Talkie Toaster
Line 3: Line 3:


'''Example'''
'''Example'''
   StrSet ''sentence'' "Sentence will be set to this"  
   StrSet ''sentence'' "The variable sentence will be set to this"  


Sets the contents of the passed StringRef to the passed string. StrSet will overwrite any existing contents of the string.
Sets the contents of the passed StringRef to the passed string. StrSet will overwrite any existing contents of the string.

Revision as of 18:23, 13 July 2007

Syntax:

 StrSet StringRef:long "String"

Example

 StrSet sentence "The variable sentence will be set to this" 

Sets the contents of the passed StringRef to the passed string. StrSet will overwrite any existing contents of the string.