DataInterfaceStream
Skip
skip a block of the data stored in the DataInterfaceStream module
Calling Sequence
Parameters
Description
Examples
stream:-Skip( number )
stream
-
DataInterfaceStream module
number
integer; amount of data to skip
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.
driver≔DatabaseLoadDriver⁡:
conn≔driver:-OpenConnection⁡url,name,pass:res≔conn:-ExecuteQuery⁡SELECT * FROM stream:res:-Next⁡
true
res:-GetData⁡1
the quick brown fox jumped over the lazy dog
res:-GetData⁡2
[ 1..127 1-D Array ]
[ Data Type: integer[1] ]
[ Storage: rectangular ]
[ Order: C_order ]
str≔res:-GetData⁡1,stream=true:str:-Type⁡
VARCHAR
str:-Read⁡5
the q
str:-Skip⁡5;str:-Read⁡5
brown
str≔res:-GetData⁡2,stream=true:str:-Type⁡
BINARY
1,2,3,4,5
11,12,13,14,15
See Also
Database
Database[DataInterfaceStream]
Database[DataInterfaceStream][Get]
Database[DataInterfaceStream][Read]
Database[usage]
Download Help Document