Dataset methods syntax

From m204wiki
Jump to: navigation, search

The syntax for each of the Dataset class methods is shown below.

Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of Dataset methods.

%currentNumber = dataset:BlockSize dataset:BlockSize = newNumber

dataset:Close Throws WriteError

%dataset = [%(Dataset):]New( string)

%currentNumber = dataset:NumberOfBuffers dataset:NumberOfBuffers = newNumber

[%rc =] dataset:Open

%currentBoolean = dataset:Output dataset:Output = newBoolean

%string = dataset:ReadBlock

%string = dataset:ReadRecord

%sl = dataset:ReadRecords[( [Max= number], [Min= number])]

%currentRecordFormat = dataset:RecordFormat dataset:RecordFormat = newRecordFormat

%currentNumber = dataset:RecordLength dataset:RecordLength = newNumber

%doc = dataset:SirAudReport( doc)

%doc = dataset:SirTuneReport( doc)

%datasetState = dataset:State

dataset:WriteBlock( string) Throws WriteError

dataset:WriteRecord( string) Throws WriteError

dataset:WriteRecords( sl, [From= number], [For= number]) Throws WriteError