Search found 1095 matches: arrays

Return to advanced search

Re: Exercism and Harbour

... and to me there are many Harbour coding areas that are missing in those examples, like codeblocks, arrays, hashes, classes, extend system use to enhance it using C, user defined commands, preprocessor use, etc. to mention some of them. I encourage ...
by Antonio Linares
Mon Apr 22, 2024 5:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Exercism and Harbour
Replies: 2
Views: 149

Re: Acopy para matrices

... bien, pero la solución que funcionó magníficamente con algún pequeño ajuste fue la de Willy. Porque en realidad yo quería poder añadir varios arrays a un array que reúna todos los elementos de los mismos, y aClone() me permite añadir un array, pero si agrego otro, el array no se agrega a continuación, ...
by JoseAlvarez
Thu Mar 07, 2024 2:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Acopy para matrices
Replies: 5
Views: 261

Re: Acopy para matrices

... bien, pero la solución que funcionó magníficamente con algún pequeño ajuste fue la de Willy. Porque en realidad yo quería poder añadir varios arrays a un array que reúna todos los elementos de los mismos, y aClone() me permite añadir un array, pero si agrego otro, el array no se agrega a continuación, ...
by jose_murugosa
Thu Mar 07, 2024 2:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Acopy para matrices
Replies: 5
Views: 261

Re: Creo que esto depende de Harbour...

Hola. La técnica a la que te refieres es desestructuración de arrays. En JavaScript se utiliza:https://developer.mozilla.org/es/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment En harbour no me suena haberlo visto nunca, aunque sería muy ...
by goosfancito
Sat Mar 02, 2024 5:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Creo que esto depende de Harbour...
Replies: 6
Views: 259

Re: Creo que esto depende de Harbour...

Hola. La técnica a la que te refieres es desestructuración de arrays. En JavaScript se utiliza:https://developer.mozilla.org/es/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment En harbour no me suena haberlo visto nunca, aunque sería muy ...
by VictorCasajuana
Sat Mar 02, 2024 3:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Creo que esto depende de Harbour...
Replies: 6
Views: 259

Re: To Nageswrao Del Objs on TscrollPanel

... oPanel:aControls[ n ]:End()HB_ADel( oPanel:aControls[ n ], n, .t. ) To delete current row in XBrowse ( applies to arrays, dbf, ado or any data source) oBrw:Delete()oBrw:Refresh() This code: FOR i := 1 TO LEN(oBrw:aCols)oCol := oBrw:aCols[ ...
by Silvio.Falconi
Wed Feb 28, 2024 8:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nageswrao Del Objs on TscrollPanel
Replies: 17
Views: 668

Re: To Nageswrao Del Objs on TscrollPanel

... oPanel:aControls[ n ]:End()HB_ADel( oPanel:aControls[ n ], n, .t. ) To delete current row in XBrowse ( applies to arrays, dbf, ado or any data source) oBrw:Delete()oBrw:Refresh() This code: FOR i := 1 TO LEN(oBrw:aCols)oCol := oBrw:aCols[ ...
by nageswaragunupudi
Tue Feb 27, 2024 12:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nageswrao Del Objs on TscrollPanel
Replies: 17
Views: 668

Re: Browse Json

We can view a structured Json using either FW_MemoEdit() or XBrowse this way. This apply to any complex Json and Json arrays. #include "fivewin.ch"function Main()   local cJson, hHash, oTree   local cTitle := "JSON VIEW"TEXT INTO cJson{"numRows":1182,"numPages":591,"pageNumber":0,"startIndex":0,"endIndex":2,"totalValue":"10819097.2000","totalPurchaseValue":"0.0000","totalMargin":"10819097.2000","totalQuantity":306361,"totalPhysicalQuantity":54,"totalMinimumQuantity":0,"lowestPrice":"0.0000","highestPrice":"365.0300","data":[{"uprid":"543","productId":543,"stockId":-1,"referenceId":0,"isBundle":0,"bundledProducts":[],"status":1,"quantity":"400","maximumQuantity":null,"ean":"","sku":"","model":"BCWU03W","hsCode":null,"name":"#Hoodie","price":"13.4280","taxClassId":"3","taxRate":"21.0000","isPhysical":"1","isDigital":"0","isQuotation":"1","url":"promotiekleding\/sweaters\/sweaters-met-kap\/hoodie","urlAbs":"https:\/\/http://www.maveco-webshop.be\/promotiekleding\/sweaters\/sweaters-met-kap\/hoodie","attributesString":"","backOrder":0,"onHome":0,"layover":1,"configurationAllowCheckout":1,"configurationStockCheck":0,"attributes":[],"description":"Uniseks ...
by nageswaragunupudi
Thu Jan 11, 2024 4:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Browse Json
Replies: 8
Views: 833

Re: SetArray xBrowser

I am posting a working sample for switching arrays of images. Please see if you can use similar logic for your requirement. #include "fivewin.ch"function Main()   local oWnd, oBrw, oBar,    oFont, oBold   local aData, nPath := ...
by nageswaragunupudi
Wed Dec 13, 2023 4:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetArray xBrowser
Replies: 2
Views: 275

Re: Imagen en XBROWSE

Hola jBrita: Aquí te dejo una opción mas y sencilla ( este ejemplo lo uso en arrays y si quieres también en BD dimelo: Declaras el ancho y el número de lineas:     oGrid:nRowHeight  := 100    oGrid:nDataLines   := 4  Imagen a mostrar: // Si quieres una imagen ...
by jll-fwh
Tue Dec 12, 2023 8:46 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Imagen en XBROWSE
Replies: 4
Views: 546

Re: Search in RichEdit 5

... RichEdit5 and color it according to the parsing of its structure. At the same time, I also get an array of colorized characters 3. Compare these 2 arrays
by Natter
Fri Oct 27, 2023 7:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Search in RichEdit 5
Replies: 2
Views: 249

Re: SetDlgGradient

I have put several of my gradients into functions .. very easy to use ...

Please ensure that the sum of the first column of all sub-arrays is 1.0.
Otherwise, your examples mislead other users who are new.
by nageswaragunupudi
Fri Sep 29, 2023 1:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetDlgGradient
Replies: 10
Views: 803

Re: Cómo genero "codigo de password" al azar?

xHarbour no permite usar las cadenas como arrays, usa esta versión para xHarbour: function Main()   local n, cPasswd := "", cChars := "abcdefghijklmnopqrsuwyzABCDEFGHIJKLMNOPQRSTUWXYZ?!"     ...
by Antonio Linares
Tue Aug 08, 2023 9:23 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cómo genero "codigo de password" al azar?
Replies: 8
Views: 404

Re: METHOD SavePQQ() need "id" or how to use own PRIMARY KEY ?

This a small tip about using fwlog.
No need to use var2char()

Just write
Code: Select all  Expand view
fwlog aSave

fwlog function takes care of converting the array as string.
This also works for small arrays
Code: Select all  Expand view
? aSave


I will look into the main issue and get back.
Please tell me how to find the encoding of a specific table?
by nageswaragunupudi
Thu Aug 03, 2023 7:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: METHOD SavePQQ() need "id" or how to use own PRIMARY KEY ?
Replies: 21
Views: 720

Re: how store Image into Database

hi, thx for Answer This works for all datasources, viz, dbf, tdatabase, ado, fwmysql, dolphin, tmysql, postgre, arrays, etc. found out when want to use Postgre i NEED to use TPQserver / TPQquery as it is "hardcode" in Source METHOD Load( lBlank ) CLASS TDataRow  ...
by Jimmy
Tue Jul 25, 2023 10:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: how store Image into Database
Replies: 3
Views: 308
Next

Return to advanced search