Property ALSignalGen.TALSignalGen.Phase

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(Automated Syncronization with Documentation)
 
(Automated Syncronization with Documentation)
Line 10: Line 10:
 
=== Delphi: ===
 
=== Delphi: ===
 
<code>
 
<code>
'''property''' Phase : Single '''read''' FPhase '''write''' SetPhase;
+
'''property''' Phase : Single '''read''' FPhase '''write''' SetPhase '''default''' 0;
 
</code>
 
</code>
  
 
=== C++ Builder: ===
 
=== C++ Builder: ===
 
<code>
 
<code>
'''__property''' float Phase = { '''read'''=FPhase,  '''write'''=SetPhase };
+
'''__property''' float Phase = { '''read'''=FPhase,  '''write'''=SetPhase,  '''default'''=0 };
 
</code>
 
</code>
  

Revision as of 20:29, 10 June 2013

This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.

Class: TALSignalGen

Contents

Syntax

Delphi:

property Phase : Single read FPhase write SetPhase default 0;

C++ Builder:

__property float Phase = { read=FPhase, write=SetPhase, default=0 };

Summary

The initial Phase of the generated periodic signal.

Description

Use this property to specify the initial phase of the generated signal.


Delphi example:

ALSignalGen1.Phase := 1.3;

C++ Builder example:

ALSignalGen1->Phase = 1.3;

Visual C++(MFC/Win32) example:

ALSignalGen1.Phase = 1.3;

Visual C++/CLI example:

signalGen1->Phase = 1.3;

C# example:

signalGen1.Phase = 1.3;

VB example:

SignalGen1.Phase = 1.3

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox