Search found 61 matches: nrows

Searched query: nrows

by Antonio Linares
Fri Jan 24, 2025 10:37 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4826

Re: Using new Class TDeepSeek for documenting

... Parameters: None

Return Value: OBJECT - Returns the TXBrowse object (Self).

Usage Example: (Internal use only)

162. AutoFit( aColsToFit, nRows, lDataOnly, nMaxWidth )

Description: Automatically adjusts column widths to fit their content.

Parameters:

aColsToFit: ARRAY - Array of column ...
by Antonio Linares
Sat Jan 11, 2025 8:23 pm
Forum: Artificial Intelligence examples
Topic: CLASS Transformer
Replies: 2
Views: 806

Re: CLASS Transformer

... 1, HB_IT_ARRAY ); // Primer parámetro: matriz a escalar
double scale = hb_parnd( 2 ); // Segundo parámetro: escalar

if( pMatrix )
{
HB_SIZE nRows = hb_arrayLen( pMatrix );
HB_SIZE i, j;
PHB_ITEM pMatrixResult = hb_itemArrayNew( nRows );

// Copiar y escalar los datos
for( i = 0; i < nRows ...
by Antonio Linares
Sat Jan 11, 2025 8:06 pm
Forum: Artificial Intelligence examples
Topic: CLASS Transformer
Replies: 2
Views: 806

Re: CLASS Transformer

... 1, HB_IT_ARRAY ); // Primer parámetro: matriz a escalar
double scale = hb_parnd( 2 ); // Segundo parámetro: escalar

if( pMatrix )
{
HB_SIZE nRows = hb_arrayLen( pMatrix );
HB_SIZE i, j;
PHB_ITEM pMatrixResult = hb_itemArrayNew( nRows );

// Copiar y escalar los datos
for( i = 0; i < nRows ...
by Antonio Linares
Sat Jan 11, 2025 9:31 am
Forum: Artificial Intelligence examples
Topic: CLASS Transformer
Replies: 2
Views: 806

CLASS Transformer

... 1, HB_IT_ARRAY ); // Primer parámetro: matriz a escalar
double scale = hb_parnd( 2 ); // Segundo parámetro: escalar

if( pMatrix )
{
HB_SIZE nRows = hb_arrayLen( pMatrix );
HB_SIZE i, j;
PHB_ITEM pMatrixResult = hb_itemArrayNew( nRows );

// Copiar y escalar los datos
for( i = 0; i < nRows ...
by Silvio.Falconi
Mon Jan 22, 2024 9:57 am
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 3997

Creating table with Trichedit

Using InsertTable( nRows, nCols )method of Trichedit
How insert data info on each cells?

For a sample I have an array aschema is 3 rows with 10 columns
How create a table on Rtf with this array ?
by Marc Venken
Wed Apr 12, 2023 2:56 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse : oBrw:ToArray (How to do it)
Replies: 13
Views: 2154

Re: Xbrowse : oBrw:ToArray (How to do it)

... cHeaders := {"productid","model"}, oBrw:bRClicked := { |r,c,f,oBrw| aResult := XbrToArray( oBrw, [ aCols ] ) } )


errorline =
aData := Array( nRows, Len( aCols ) )


Error description: Error BASE/1111 Argument error: LEN
Args:
[ 1] = B {|| ... }

Stack Calls
===========
Called from: => LEN ...
by Antonio Linares
Sat Mar 06, 2021 10:39 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Parámetro bProgress FW_ExcelToDbf
Replies: 2
Views: 377

Re: Parámetro bProgress FW_ExcelToDbf

bProgress recibe dos parámetros:

Eval( bProgress, 0, nRows )

el primero es siempre cero y el segundo parece ser nRows := oRange:Rows:Count

puedes revisarlo en source/function/dbffunc2.prg
by Antonio Linares
Sun Feb 07, 2021 9:15 am
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2021 (FWH 21.01)
Replies: 1
Views: 2525

Re: New FTDN January/Enero 2021 (FWH 21.01)

... ArrayToHTML( aData, [aHead], [cTrue], [cFalse] ) --> cHTMLScript
(valtostr.prg)

* Nuevas funciones ADO ( adofuncs.prg )
- FW_ADORsToText( oRs, [nRows] ) --> Testo delimitado por tabulaciones
- FW_AdoRsToHTML( oRs, [nRows] ) --> Testo cHTML mostrar la tabla
- FW_AdoRsToCSV( oRs, [nRows ...
by Antonio Linares
Sun Feb 07, 2021 9:10 am
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2021 (FWH 21.01)
Replies: 1
Views: 2525

New FTDN January/Enero 2021 (FWH 21.01)

... FW_ArrayToHTML( aData, [aHead], [cTrue], [cFalse] ) --> cHTMLScript
(valtostr.prg)

* New ADO functions( adofuncs.prg )
- FW_ADORsToText( oRs, [nRows] ) --> Tab delimited text
- FW_AdoRsToHTML( oRs, [nRows] ) --> cHTML text to display the table
- FW_AdoRsToCSV( oRs, [nRows] ) --> CSV text
2nd ...
by Antonio Linares
Mon Dec 28, 2020 3:18 pm
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2020 (FWH 20.12)
Replies: 8
Views: 6307

Re: New FTDN December/Diciembre 2020 (FWH 20.12)

... Nueva clase FW_Matrix (para cálculos matriciales)

CLASS FW_Matrix:

DATAs de sólo lectura y métodos de acceso:

DATA aMatrix READONLY
DATA nRows, nCols READONLY
ACCESS lSquare INLINE ( ::nRows == ::nCols )
ACCESS Determinant INLINE If( ::nRows == ::nCols, m_determinant( ::aMatrix ), 0 ...
by Antonio Linares
Mon Dec 28, 2020 10:16 am
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2020 (FWH 20.12)
Replies: 8
Views: 6307

New FTDN December/Diciembre 2020 (FWH 20.12)

... f=3&t=39736
* New CLASS FW_Matrix (for matrix calculations)
CLASS FW_Matrix:

READ ONLY DATAS AND ACCESS METHODS:

DATA aMatrix READONLY
DATA nRows, nCols READONLY
ACCESS lSquare INLINE ( ::nRows == ::nCols )
ACCESS Determinant INLINE If( ::nRows == ::nCols, m_determinant( ::aMatrix ), 0 ...
by nageswaragunupudi
Thu Dec 10, 2020 9:35 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: Support for Matrix calculations
Replies: 3
Views: 993

Re: FWH: Support for Matrix calculations

CLASS FW_Matrix:


READ ONLY DATAS AND ACCESS METHODS:

DATA aMatrix READONLY
DATA nRows, nCols READONLY
ACCESS lSquare INLINE ( ::nRows == ::nCols )
ACCESS Determinant INLINE If( ::nRows == ::nCols, m_determinant( ::aMatrix ), 0 )
ACCESS IsIdentity

CONSTRUCTOR METHODS:

METHOD New( aArray ...
by cnavarro
Tue Aug 13, 2019 8:36 am
Forum: FiveWin for Harbour/xHarbour
Topic: How to generate Master/Deltail XML from maridb Rowsets ?
Replies: 10
Views: 1821

Re: How to generate Master/Deltail XML from maridb Rowsets ?

... first
dimension of acHeader is considered as head and second dimension
is considered as data.

- ArrToJson( acHeader, aData )
- RsToJson( oAdoRs, [nRows], [nStart], [aFields] ) --> Json Array
- FW_RecToJson( [acFields], [acNames] ) // for dbf record
- FW_DbfToJson( [cFieldList], [bFor], [bWhile ...
by leandro
Tue Jul 30, 2019 4:48 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Recordset to hash
Replies: 6
Views: 1346

Re: Recordset to hash

... tema parece estar por el lado del tercer parámetro, que a este momento sigo sin entender, es el mismo parámetro que recibe la función oRs:GetRows( nRows, nStart ), pero sigo sin comprender para qué sirve.

oVar:="SELECT * FROM clientes"oRsFtr := FW_OPENRECORDSET&#40;oCnFtr,oVar,adLockOptimistic ...
by leandro
Mon Jul 29, 2019 10:05 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Recordset to hash
Replies: 6
Views: 1346

Re: Recordset to hash

... la publicación que mencionas, hay varias funciones alli, pero creo que la que mas se adapta a lo que necesito es la función RsToHash( oAdoRs, [nRows], [nStart], [aFields] ) --> Matriz hash
oVar:="SELECT * FROM clientes"oRsFtr := FW_OPENRECORDSET&#40;oCnFtr,oVar,adLockOptimistic,adOpenKeyset&#41 ...