skip a block of the data stored in the DataInterfaceStream module - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Connectivity : Database Package : DataInterfaceStream : Database/DataInterfaceStream/Skip

DataInterfaceStream:-Skip - skip a block of the data stored in the DataInterfaceStream module

Calling Sequence

stream:-Skip( number )

Parameters

stream

-

DataInterfaceStream module

number

-

integer; amount of data to skip

Description

• 

The Skip command skips the next number elements of data from stream without returning any data.  If stream stores character data, each element is a single character.  If stream stores binary data, each element is a byte.

• 

If there are less than or equal to number elements in the stream, then no more data will be available for reading after the call to Skip.

Examples

driver:=Database[LoadDriver]:

conn:=driver:-OpenConnectionurl,name,pass:res:=conn:-ExecuteQuerySELECT * FROM stream:res:-Next

true

(1)

res:-GetData1

the quick brown fox jumped over the lazy dog

(2)

res:-GetData2

[   1..127 1-D Array    ]

[ Data Type: integer[1] ]

[ Storage: rectangular  ]

[    Order: C_order     ]

str:=res:-GetData1,stream=true:str:-Type

VARCHAR

(3)

str:-Read5

the q

(4)

str:-Skip5;str:-Read5

brown

(5)

str:=res:-GetData2,stream=true:str:-Type

BINARY

(6)

str:-Read5

1,2,3,4,5

(7)

str:-Skip5;str:-Read5

11,12,13,14,15

(8)

See Also

Database, Database[DataInterfaceStream], Database[DataInterfaceStream][Get], Database[DataInterfaceStream][Read], Database[usage]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam