PMS32 Online- Hilfereferenz

MY.CSTRUCTS.NEWCSTRUCT

NewCStruct - Rückgabe: [Object], Gibt eine neue (leere) Collection zurück.


Hilfe: Neues C-Strukture Element
Rückgabe: [Object], Gibt eine neue (leere) Collection zurück.


Code: Neues C-Strukture Element
*/ Kurzbeispiel für den Zugriff auf diese Struktur
*/ Der Zugriff erfolgt über: My.CStructs.NewCStruct
*/ Wird dieses Objekt in einem REPLACE oder einer Schleife SCAN ... ENDSCAN | FOR ... NEXT benötigt
*/ so sollte vor der Schleife die Objektstruktur in eine Variable geholt werden!
*/ Die Ausführungsgeschwindigkeit wird dadurch sehr vergrößert!
*/ Beispiel:
*/ Definieren einer LOKALEN Variablen
LOCAL loNewCStruct AS My.CStructs.NewCStruct
*/ Setzen der Variablen
loNewCStruct = My.CStructs.NewCStruct
*/ Jetzt erst die Schleifen durchlaufen... man beachte ALL, dass können ne Menge Sätze sein...
REPLACE ALL Feldname1 WITH loNewCStruct.Function1(),Feldname2 WITH loNewCStruct.Function1(), ...
*/ Oder in einer Schleife...
SCAN
	lvValue = loNewCStruct.Function(Alias.Spalte) + 25
	lvValue = loNewCStruct.Function2(m.lvValue)
	REPLACE Feldname WITH m.lvValue,...
ENDSCAN
*/ Es sind auch geschachtelte Aufrufe möglich...

Memberliste von NewCStruct


Liste der Methoden von NewCStruct


Add() - Adden einer neuen Member

Adds a new member to a Collection.
Hilfeinformation
Adds a new member to a Collection.

Aufrufinformation
Collection." = My.CStructs.NewCStruct.Add(eItem, cKey, eBefore, eAfter)
Collection." = My.CStructs.NewCStruct.Add(eItem,cKey,eBefore,eAfter)
Codeinformation


AddItem() - Added ein neues Item

Rückgabe: [Boolean], Added ein neues Item an diese Collection. Niemals ADD(...) benutzen!
Hilfeinformation
Rückgabe: [Boolean], Added ein neues Item an diese Collection. Niemals ADD(...) benutzen!

Aufrufinformation
Boolean = My.CStructs.NewCStruct.AddItem(cItem)
Boolean = My.CStructs.NewCStruct.AddItem(cItem)
Codeinformation


ColToRs() - Umwandeln einer O-Collection in ein O-RecordObject

Rückgabe: [Object], Erzeugt aus der Collection Struktur eine Objektkette nach alter Bauart. (RecordStrukture)
Hilfeinformation
Rückgabe: [Object], Erzeugt aus der Collection Struktur eine Objektkette nach alter Bauart. (RecordStrukture)

Aufrufinformation
Object = My.CStructs.NewCStruct.ColToRs()
Codeinformation


CopyItems() - Kopiert Items einer O-Collection

Rückgabe:[Boolean], Kopiert eine komplette Informationsstruktur ab einem def. Objekt
Hilfeinformation
Rückgabe:[Boolean], Kopiert eine komplette Informationsstruktur ab einem def. Objekt

Aufrufinformation
Boolean = My.CStructs.NewCStruct.CopyItems()
Codeinformation


GetClassInfo() - Gibt die Klasseninformation zurück


Hilfeinformation

Aufrufinformation
zurück." = My.CStructs.NewCStruct.GetClassInfo()
Codeinformation


GetDefItem() - Rückgabe eines Items der Collection

Rückgabe:[Variant], Gibt das ITEM bzw. den angegebenen Defaultwert zurück
Hilfeinformation
Rückgabe:[Variant], Gibt das ITEM bzw. den angegebenen Defaultwert zurück

Aufrufinformation
Variant = My.CStructs.NewCStruct.GetDefItem()
Codeinformation


GetItem() - Rückgabe eines Items der Collection

Rückgabe: [Variant], Gibt ein Item aus einer Objektkette zurück
Hilfeinformation
Rückgabe: [Variant], Gibt ein Item aus einer Objektkette zurück

Aufrufinformation
Variant = My.CStructs.NewCStruct.GetItem()
Codeinformation


GetItemKey() - Gibt den Key des Items zurück


Hilfeinformation

Aufrufinformation
zurück." = My.CStructs.NewCStruct.GetItemKey()
Codeinformation


GetKey() - Gibt den Key des Items zurück

Returns key or index corresponding to passed value.
Hilfeinformation
Returns key or index corresponding to passed value.

Aufrufinformation
eIndex = My.CStructs.NewCStruct.GetKey(eIndex)
eIndex = My.CStructs.NewCStruct.GetKey(eIndex)
Codeinformation


Item() - Rückgabe des Items

Returns a specified member of a Collection object.
Hilfeinformation
Returns a specified member of a Collection object.

Aufrufinformation
eIndex = My.CStructs.NewCStruct.Item(eIndex)
eIndex = My.CStructs.NewCStruct.Item(eIndex)
Codeinformation


ReleaseAll() - Alle Items dieser Ebene löschen


Hilfeinformation

Aufrufinformation
<|!><NAME|TYPE>:<Nam = My.CStructs.NewCStruct.ReleaseAll()
Codeinformation


RsToCol() - Umwandeln eines O-RecordObjects in eine O-Collection

Rückgabe: [Object], Umkehrfunktion zu ColToRs(), erzeugt eine Collection Struktur aus einer Record Struktur
Hilfeinformation
Rückgabe: [Object], Umkehrfunktion zu ColToRs(), erzeugt eine Collection Struktur aus einer Record Struktur

Aufrufinformation
Object = My.CStructs.NewCStruct.RsToCol()
Codeinformation


SetClassInfo() - Setzen der Klassen Information


Hilfeinformation

Aufrufinformation
Collection." = My.CStructs.NewCStruct.SetClassInfo()
Codeinformation


_ENew() - Gibt eine neues O-RecordObject zurück


Hilfeinformation

Aufrufinformation
zurück." = My.CStructs.NewCStruct._ENew()
Codeinformation


_New() - Gibt eine neue O-Collection zurück


Hilfeinformation

Aufrufinformation
zurück." = My.CStructs.NewCStruct._New()
Codeinformation


xCopy() - Erstellt eine Kopie einer O-Collection

Rückgabe: [Object], Erstellt eine komplette Kopie dieser Collection Struktur
Hilfeinformation
Rückgabe: [Object], Erstellt eine komplette Kopie dieser Collection Struktur

Aufrufinformation
Object = My.CStructs.NewCStruct.xCopy()
Codeinformation


Liste der Properties von NewCStruct


Count - Anzahl der Items

Specified the number of members contained in a Collection.
Hilfeinformation
Specified the number of members contained in a Collection.

Aufrufinformation
Integer = My.CStructs.NewCStruct.Count
Codeinformation


ExitCode - Enthält den Exitcode für den Aufbau von O nach A


Hilfeinformation

Aufrufinformation
String = My.CStructs.NewCStruct.ExitCode
Codeinformation


File - Enthält den Dateinamen aus dem die Collection erzeugt wurde

Enthält den Dateinamen aus dem die Collection erzeugt wurde
Hilfeinformation
Enthält den Dateinamen aus dem die Collection erzeugt wurde

Aufrufinformation
String = My.CStructs.NewCStruct.File
Codeinformation


TClass - Spezielle Klassendefinition

Spezielle Klassendefinition
Hilfeinformation
Spezielle Klassendefinition

Aufrufinformation
String = My.CStructs.NewCStruct.TClass
Codeinformation


Text - Enthält einen Text

Returns all of the text in a text-entry area of a control.
Hilfeinformation
Returns all of the text in a text-entry area of a control.

Aufrufinformation
String = My.CStructs.NewCStruct.Text
Codeinformation


Siehe auch : Hauptmenü /  Hauptindex /  Such Index /  Cursor Index /  Programm Module /  Tabellen Index /  Tabellenmodule /  Masken Index /  Programmcode Index /  Servicepacks /  My.Struktur /  Funktionen /  Sonstiges Index

Lokale Benutzerhilfe : Meine eigene Hilfe /  Zurück zur PMS32 - Hilfe


Dateiversion:1.0.04#3648 - H.U.DD#SSFF 02.12.2022  Senden Sie Ihren Kommentar zu diesem Thema an das Entwicklungsteam von PMS32  Weitere Informationen finden Sie unter der aktuellen PMS32 WEB-Hilfe
Die Informationen dieser Mitteilung sind vertraulich und nur für Sie bestimmt. Unbefugtes Weiterleiten,  Veröffentlichen, Kopieren usw. sind untersagt und werden gerichtlich verfolgt.  © PMS Compelec GmbH 2022 ® el-Projekt