CVariable Constructors: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
(Created page with '{{DISPLAYTITLE:cVariable Constructors}}{{Template:API}}{{Template:APIBreadcrumb|9|.cVariable}} <onlyinclude>A parameterized constructor for the [[CVariable …')
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:cVariable Constructors}}{{Template:API}}{{Template:APIBreadcrumb|9|.[[CVariable_Class|cVariable]]}}
{{DISPLAYTITLE:cVariable Constructors}}{{Template:API}}{{Template:APIBreadcrumb|.[[CVariable_Class|cVariable]]}}




<onlyinclude>A parameterized constructor for the [[CVariable Class|cVariable]] class.</onlyinclude>
<onlyinclude>A parameterized constructor for the [[CVariable Class|cVariable]] class. (.NET only)</onlyinclude>


== Syntax ==
== Syntax ==
Line 9: Line 9:
===Parameters===
===Parameters===
''Name''
''Name''
: String. The name for the new variable. (Required)
:Required. String. The name for the new variable.




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"}})

Latest revision as of 15:16, 3 August 2017

APIWiki.png


Member of: SynthesisAPI.cVariable


A parameterized constructor for the cVariable class. (.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")