### Alpha series, Fetch function...

Posted:

**Mon Jun 10, 2013 2:48 am**Dear Member I have several question

1. How can I get the number of rows in the alpha series . the function @rows is written to work for alpha series as well but it doesnt .

Syntax: @rows(o)

Argument: matrix, vector, rowvector, sym,

Return: scalar

Returns the number of rows in the matrix object, o.

Example:

scalar sc1=@rows(m1)

It gives me back an error saying that it is only for matrix

2. The function

fetch(options) object_list

what if I have all the elements that i want to fetch saved in a table and cant put by hand one by one , can I somehow refer to each element of the table rows and fetche that element from the database?

Thanks beforehand

Armine

1. How can I get the number of rows in the alpha series . the function @rows is written to work for alpha series as well but it doesnt .

Syntax: @rows(o)

Argument: matrix, vector, rowvector, sym,

**series,**or group, oReturn: scalar

Returns the number of rows in the matrix object, o.

Example:

scalar sc1=@rows(m1)

It gives me back an error saying that it is only for matrix

2. The function

fetch(options) object_list

what if I have all the elements that i want to fetch saved in a table and cant put by hand one by one , can I somehow refer to each element of the table rows and fetche that element from the database?

Thanks beforehand

Armine