Difference between revisions of "Sv Destruct"

683 bytes added ,  19:26, 28 August 2010
no edit summary
imported>CSbot
(Automated import of articles)
 
imported>DragoonWraith
Line 1: Line 1:
{{BotAddedPage|CSbot|DragoonWraith}}
{{Function
{{Function
  | origin = OBSE
  | origin = OBSE
  | summary =  
  | summary = Destroys a string variable, setting its value to zero and preventing its contents from being saved in the savegame. Two different syntaxes are supported: the first should be used in an assignment with no parameters, using the Set keyword: <tt>set stringVar to sv_Destruct</tt>. The second is used without assignment and accepts up to ten string variables as arguments, destroying them all:
  | name = sv_Destruct
  | name = sv_Destruct
  | returnVal = string_var
  | returnVal = string_var
  | alt = sv_Destruct
  | alt = sv_Destruct
| altRetVal = void
| altArgs =
{{FunctionArgument
  | name = var1
  | type = string_var
}}{{FunctionArgument
  | name = var2
  | type = string_var
  | optional = y
}}{{FunctionArgument
  | name = var3
  | type = string_var
  | optional = y
}}{{FunctionArgument
  | name = ... var10
  | type = string_var
  | optional = y
}}
}}
}}