CVariable Constructors: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 16: Line 16:
   
   
  {{APIComment|'The following code creates a new variable called "Variable_A."}}
  {{APIComment|'The following code creates a new variable called "Variable_A."}}
   {{APIPrefix|Dim}} Variable {{APIPrefix|As}} cVariable({{APIString|"Variable_A"}})
   {{APIPrefix|Dim}} Variable {{APIPrefix|As New}} cVariable({{APIString|"Variable_A"}})

Revision as of 20:05, 8 October 2015

APIWiki.png


Member of: SynthesisAPI9.cVariable


A parameterized constructor for the cVariable class. (VB.NET only)

Syntax

cVariable(Name)

Parameters

Name

Required. String. The name for the new variable.


Example

VB.NET

 'The following code creates a new variable called "Variable_A." 
 Dim Variable As New cVariable("Variable_A")