Search found 131 matches: ncount

Return to advanced search

Re: New FTDN June/Junio 2022 (FWH 22.06)

... todos los elementos en el orden inverso. Ejemplo: FW_AReverse( { 1, 2, 3, 4 } --> { 4, 3, 2, 1 } - Nueva: FW_RAEval( aArray, bBlock, [nStart], [nCount] ) Evalúa bBlock para cada fila como AEval() pero en el orden inverso desde el último elemento hasta el primero. Si se proporciona el parámetro ...
by Antonio Linares
Tue Jun 21, 2022 8:45 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2022 (FWH 22.06)
Replies: 1
Views: 876

New FTDN June/Junio 2022 (FWH 22.06)

... length with all elements in the reverse order. Ex: FW_AReverse( { 1, 2, 3, 4 } --> { 4, 3, 2, 1 } - New: FW_RAEval( aArray, bBlock, [nStart], [nCount] ) Evaluates bBlock for every row like AEval() but in the reverse order from last element to the first element. If the optional parameter nStart ...
by Antonio Linares
Tue Jun 21, 2022 4:31 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2022 (FWH 22.06)
Replies: 1
Views: 876

Re: start at the end and go back in an array

... then using the Aeval but it not run ok , it result 9155 instead of 24 Function Rit( aData, numero, nWheel,nRecord )   local nCount   := 0   local nPos1,nPos2,nPos3,nPos4,nPos5   local bBlock,cond      nPos1 := ( nWheel - 1 ) * 5 + 3      nPos2 := ( nWheel - 1 ...
by Silvio.Falconi
Mon May 30, 2022 6:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: start at the end and go back in an array - RESOLVED --
Replies: 19
Views: 849

Re: start at the end and go back in an array

... local nDelay number:=89 // delay must be 24 ? Rit( aDataDbf, number, 1, nrecord ) return nil Function Rit( aData, numero, nWheel,nRecord ) local nCount := 0 local nPos1,nPos2,nPos3,nPos4,nPos5 local bBlock nPos1 := ( nWheel - 1 ) * 5 + 3 nPos2 := ( nWheel - 1 ) * 5 + 4 nPos3 := ( nWheel - 1 ) ...
by Silvio.Falconi
Mon May 30, 2022 3:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: start at the end and go back in an array - RESOLVED --
Replies: 19
Views: 849

Re: start at the end and go back in an array

... Rao has already implemented RAEval() in a very simple way :-) To be included in the next FWH build function FW_RAEval( aArray, bBlock, nStart, nCount )   local nPos  := IfNil( nStart, Len( aArray ) )   RAScan( aArray, { |u| Eval( bBlock, u, nPos ), nPos--, ...
by Silvio.Falconi
Sat May 28, 2022 7:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: start at the end and go back in an array - RESOLVED --
Replies: 19
Views: 849

start at the end and go back in an array - RESOLVED --

... { |a| If( a[ nPos1 ] == numero .or. ; a[ nPos2 ] == numero .or. ; a[ nPos3 ] == numero .or. ; a[ nPos4 ] == numero .or. ; a[ nPos5 ] == numero , nCount++, nil ) } ) Now I wish start at the end and go back basically I want go to bottom() and make to skip (-1) up to a certain record How I can resolve
by Silvio.Falconi
Sat May 28, 2022 11:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: start at the end and go back in an array - RESOLVED --
Replies: 19
Views: 849

Re: Help with ascan

...     ? freq(oDbf, 34, 1 ) // Frequency of number 34 in position 1 (field 3)return nilFunction freq( aData, numero, npos )   local nCount   := 0   nPos  += 2   AEval( aData, { |a| If( a[ nPos ] == numero, nCount++, nil ) } )return nCount Nages, run ok thanks a question....to calculate ...
by Silvio.Falconi
Fri May 13, 2022 6:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with ascan
Replies: 16
Views: 917

Re: color the cells of the xbrowse

... } ) NEXT // sort Result ASORT( aResult,,, { | aX, aY | aX[ 1 ] < aY[ 1 ] } ) // set Color when "dupe" nNumColor := 600000 nCount := 0 ii := 1 FOR ii := 1 TO LEN( aResult ) IF aResult[ ii ] [ 2 ] > 1 nCount ++ aResult[ ii ] [ 3 ] := NumColor2RGB( nNumColor * nCount ) ...
by Silvio.Falconi
Wed Apr 20, 2022 10:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: color the cells of the xbrowse
Replies: 11
Views: 825

Re: Mem Files

... init form CFG_ Function test() local aVar:= {} nMemHandle := Fopen( 'config.mem', 2 ) nMemLength := Fseek( nMemHandle, 0, 2) Fseek(nMemHandle,0) nCount := 1 Do While Fseek(nMemHandle, 0, 1)+1 < nMemLength nMemWidth:= space(18) Fread( nMemHandle, @nMemWidth, 18 ) cVarName := Left( nMemWidth, ...
by Silvio.Falconi
Fri Oct 08, 2021 7:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mem Files
Replies: 11
Views: 728

Error log location

... being written to the same folder as the executable, with contents such as this: 2021/06/24 13:37:37: EXCESS RELEASE OF FONT ARIAL[ hFont : 0] ( nCount : -1 ) <-TFONT:END(0) <-TBUTTON:DESTROY(0) <-TWINDOW:HANDLEEVENT(0) <-TBUTTON:HANDLEEVENT(0) <-_FWH(0) <-SENDMESSAGE(0) <-(b)TWINDOW(0) ...
by rhlawek
Thu Jun 24, 2021 5:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error log location
Replies: 4
Views: 430

Re: Dividir Un Array

... más rápida de hacer eso: ACopy() Copy elements from one array to another Syntax ACopy( <aSource>, <aTarget>, [<nStart>], [<nCount>], [<nTargetPos>] ) → aTarget Arguments aSource is the array to copy elements from. aTarget is the array to copy elements to. nStart ...
by hmpaquito
Fri May 21, 2021 11:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Dividir Un Array "SOLUCIONADO"
Replies: 5
Views: 605

Re: Ordenar solo una parte de un array

ASort() Posted on January 7, 2014 by vivaclipper ASORT() Sort an array Syntax ASORT( <aArray>, [<nStart>], [<nCount>], [<bSort>] ) --> aArray Arguments <aArray> Array to be sorted. <nStart> The first element to start the sort from, default is 1. ...
by hmpaquito
Thu Feb 25, 2021 9:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ordenar solo una parte de un array
Replies: 2
Views: 239

Re: Ayuda con @ PUSHBUTTON

Buenas tardes Para un asunto similar, poner un bAction a unos botones variables, lo solucioné pasando como referencia NO el valor de nCount, pues va cambiando, sino haciendo un codeblock por código . Creo recordar que era la solución propuesta por Cristóbal (ese genio ¡¡¡¡¡ ) Function HazBlock( ...
by JESUS MARIN
Mon Feb 03, 2020 7:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con @ PUSHBUTTON
Replies: 3
Views: 601

Re: EXCESS RELEASE OF FONT: Segoe UI

... me puse a depurar los fuentes. Casi resolvi todo, a excepcion de: 11/12/2019 09:53:45: EXCESS RELEASE OF FONT Segoe UI[ hFont : 0] ( nCount : 0 ) <-TFONT:END(284) <-TCONTROL:DESTROY(2124) <-TOUTLOOK2010:DESTROY(424) <-TAPPLICATIONWITHDLL:ACTIVATE(1494) <-MAIN(834) ------------------------------------------------------------ ...
by cnavarro
Wed Dec 11, 2019 7:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: EXCESS RELEASE OF FONT: Segoe UI
Replies: 1
Views: 484

EXCESS RELEASE OF FONT: Segoe UI

... me puse a depurar los fuentes. Casi resolvi todo, a excepcion de: 11/12/2019 09:53:45: EXCESS RELEASE OF FONT Segoe UI[ hFont : 0] ( nCount : 0 ) <-TFONT:END(284) <-TCONTROL:DESTROY(2124) <-TOUTLOOK2010:DESTROY(424) <-TAPPLICATIONWITHDLL:ACTIVATE(1494) <-MAIN(834) ------------------------------------------------------------ ...
by RSalazarU
Wed Dec 11, 2019 2:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: EXCESS RELEASE OF FONT: Segoe UI
Replies: 1
Views: 484
PreviousNext

Return to advanced search