Jump to content

API Scope.AddStream: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import API auto-gen
Admin (talk | contribs)
XML import of API auto-gen
Line 21: Line 21:
====Calling in a calculation====
====Calling in a calculation====
* Declare a variable 'result' of type HANDLE
* Declare a variable 'result' of type HANDLE
* Add to a calculation icon: result = ::Scope.AddStream(grouph, "name")
* Add to a calculation icon: <pre class="brush:[C]">result = ::Scope.AddStream(grouph, "name")</pre>

Revision as of 15:35, 10 May 2013

<sidebar>API contents</sidebar> Adds a stream to the given group suitable for inputs and operations


Parameters

HANDLE GroupH

A handle to a previously created datascope group

STRING Name

The cosmetic name to display for the stream

Return value

HANDLE

No additional information

Detailed description

No additional information

Examples

Calling in a calculation

  • Declare a variable 'result' of type HANDLE
  • Add to a calculation icon:
    result = ::Scope.AddStream(grouph, "name")