Search found 78 matches: arrtranspose

Return to advanced search

Re: PAra antonio

Estimado Gustavo, el comando de FWH FWDBG se traduce asi: #xcommand FWDBG <vars,...> => ; XBrowse( ArrTranspose( \{ \{ <"vars"> \}, Eval( \{ || \{ <vars> \} \} ) \} ), ; ProcName(0) + " : Line : " + LTrim( Str( ProcLine(0) ) ),, ; { |o| ...
by Antonio Linares
Mon Oct 02, 2023 2:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PAra antonio
Replies: 1
Views: 149

Re: New FWH 23.04

... I managed with xbrowse itself, but also want to know how the array can be converted. aData[1][3] = the complex value like you see on pic I tried Arrtranspose, but not succeded.
by Marc Venken
Thu May 04, 2023 2:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 23.04
Replies: 13
Views: 817

Re: XBROWSE FIELDS with Name in Array

hi,
nageswaragunupudi wrote:Comma delimited
Eg: "FIRST,CITY,SALARY,..."

thx for Answer

nageswaragunupudi wrote:We can easily convert an array like DbStruct() to list like this:
FW_ArrayAsList( ArrTranspose( aStruct )[ 1 ] )

ah, that is nice :)
by Jimmy
Tue May 02, 2023 3:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE FIELDS with Name in Array
Replies: 12
Views: 789

Re: XBROWSE FIELDS with Name in Array

how does"cFieldList" look like and what Delimiter is used :?:


Comma delimited
Eg: "FIRST,CITY,SALARY,..."

We can easily convert an array like DbStruct() to list like this:
FW_ArrayAsList( ArrTranspose( aStruct )[ 1 ] )
by nageswaragunupudi
Tue May 02, 2023 3:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE FIELDS with Name in Array
Replies: 12
Views: 789

Re: Transponer un array

Jose: Existe la funcion ArrTranspose (Sacado de Wiki de fivewin) function ArrTranspose( aArray, lSquare )local nRows, nCols, nRow, nCol, nWidth   local aNew   DEFAULT lSquare := .f.   nRows   ...
by cmsoft
Thu Apr 13, 2023 10:02 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Transponer un array
Replies: 5
Views: 402

Re: Transponer un array

Jose, busca en el foro ArrTranspose
by cnavarro
Wed Apr 12, 2023 3:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Transponer un array
Replies: 5
Views: 402

Re: found 90 numbers

Use ArrTranspose() and same logic :-)
by Antonio Linares
Wed May 25, 2022 2:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: found 90 numbers - Resolved -
Replies: 9
Views: 525

Convertir Hash a Array "organizado" *SOLUCIONADO*

... 0},;                { 'cinco', 'Pedro', 0},;                { 'seis',  '',     18};    } He probado con ArrTranspose() pero me devuelve un array con los Hash: https://i.ibb.co/NyffYJ4/2021-01-06-10h26-08.png Si hago un xBrowse(aData) me ...
by VictorCasajuana
Wed Jan 06, 2021 9:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Convertir Hash a Array "organizado" *SOLUCIONADO*
Replies: 10
Views: 891

Re: matrices multiplication

Without ArrTranspose function Main()   // [ 2, 2 ] x [ 2, 2 ] = [ 2, 2 ]   local aMatriz1 := { { 1, 2 }, { 3, 4 } }   local aMatriz2 := { { 11, 12 }, { 13, 14 } }  ...
by cnavarro
Mon Oct 12, 2020 8:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: matrices multiplication
Replies: 13
Views: 1031

Re: matrices multiplication

With ArrTranspose function Main()   // [ 2, 2 ] x [ 2, 2 ] = [ 2, 2 ]   local aMatriz1 := { { 1, 2 }, { 3, 4 } }   local aMatriz2 := { { 11, 12 }, { 13, 14 } }  ...
by cnavarro
Mon Oct 12, 2020 3:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: matrices multiplication
Replies: 13
Views: 1031

Re: matrices multiplication

Dear Antonino, Fixed in my original post many thanks! Mr. Rao has managed to implement an enhanced version that does not need the ArrTranspose() call. It will be included in the next FWH build: function MatrixMult( matrix1, matrix2 )   local MatrixA, MatrixB, i, j, nRow, ...
by Antonio Linares
Mon Oct 12, 2020 11:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: matrices multiplication
Replies: 13
Views: 1031

Re: FWH 2006: XBrowse : Own built-in Buttonbar

... := <|| local oBtn,oCbx1 local cFilter1:= val(alistini[1][1]) local nrow:= 05 local ncol:= 05 @ nrow,ncol COMBOBOX oCbx1 VAR cFilter1 ITEMS ArrTranspose( aListini )[ 1] ; SIZE 120,400 PIXEL OF oApp():oGrid return nil > give me this error on compilation source\spiaggia\PTariffe.prg(631) ...
by Silvio.Falconi
Mon Jul 20, 2020 12:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 2006: XBrowse : Own built-in Buttonbar
Replies: 14
Views: 2257

Re: Como Actilizar 2º Combobox ANIDADOS " URGENTE "

... los dos valores y rellenas aReturn solo con el segundo valor. Veamos si de esta manera te parece mas sencillo. Ahora ya no es necesario llamar a ArrTranspose(). Tampoco es necesario llamar dos veces a Carga_dos() He revisado la clase TComboBox y debe ser un array de una sola dimensión. # Include ...
by JESUS MARIN
Fri Apr 10, 2020 5:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como Actilizar 2º Combobox ANIDADOS " URGENTE "
Replies: 24
Views: 2437

Re: Como Actilizar 2º Combobox ANIDADOS " URGENTE "

... hacer es modificar esa función a tu gusto para que solo pase una vez. En esa, única vez, rellenas el array aItems2. Luego utilizas la función ArrTranspose() para que se rellene el array aItemsCombo2. No encuentro en mi versión la función ArrTranspose(), por lo que no puedo probarlo. Pero por ...
by JESUS MARIN
Fri Apr 10, 2020 4:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como Actilizar 2º Combobox ANIDADOS " URGENTE "
Replies: 24
Views: 2437

Re: Como Actilizar 2º Combobox " URGENTE "

Hola Jesus Si lo uso con las variables cVar1 y cVar2 en el Combobox, me da error. Al usar: Var cVar1 Items ArrTranspose(aItems1)[2] <== cVar1 contiene la posicion del elemento y ArrTranspose(aItems1)[2] muestra el segundo elemento en esta caso el Detalle y no el codigo que ...
by remtec
Wed Apr 08, 2020 4:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como Actilizar 2º Combobox ANIDADOS " URGENTE "
Replies: 24
Views: 2437
Next

Return to advanced search