You have a index, filter or orderscope before you process the loops I suppose ?MarcoBoschi wrote:A quick Update,
I have a For NEXT cicle that open a dbf file at a time and than a do while enddo cicle in quch analize every single
record that satisfye some conditions.
Search found 121 matches: loops
Searched query: loops
- Mon Sep 16, 2024 12:16 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: slowness
- Replies: 76
- Views: 17133
Re: slowness
- Fri Feb 02, 2024 11:36 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: TWebView window size
- Replies: 14
- Views: 2420
Re: TWebView window size
I am thinking about using a thread to run webview, so both events loops (FWH and WebView) may coexist...
An example coming soon![Smile :-)](./images/smilies/icon_smile.gif)
An example coming soon
![Smile :-)](./images/smilies/icon_smile.gif)
- Mon Nov 06, 2023 10:30 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Interesting discussion with ChtGPT
- Replies: 15
- Views: 3679
Re: Interesting discussion with ChtGPT
... down to the elements of the programming language, are they really different than C++ which is used for Harbour ? How about the structure, like loops, if/then and case statements. Are they somehow more modern ?
So, my statement was essentially, this response takes a lack of information, and from ...
So, my statement was essentially, this response takes a lack of information, and from ...
- Tue Dec 06, 2022 10:27 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Combinaciones de letras
- Replies: 12
- Views: 2202
Re: Combinaciones de letras
... lo que ha hecho:
This program uses a nested loop to generate all possible combinations of three or more letters in the given word. The outer two loops iterate over all pairs of letters in the word, and the inner loop iterates over all remaining letters in the word to generate a combination of ...
This program uses a nested loop to generate all possible combinations of three or more letters in the given word. The outer two loops iterate over all pairs of letters in the word, and the inner loop iterates over all remaining letters in the word to generate a combination of ...
- Mon Oct 31, 2022 4:29 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: delete identical records
- Replies: 6
- Views: 646
delete identical records
By creating an array with three for next loops I have to delete the records where I find equal numbers in the three columns
for h=1 to Len(atmp)
If atmp[h][1] == atmp[h][2] .or. ;
atmp[h][1] == atmp[h][3] .or. ;
atmp[h][3] == atmp[h][2]
HB_ADel( aTmp, h, .t. )
Endif
next
but then it happens ...
for h=1 to Len(atmp)
If atmp[h][1] == atmp[h][2] .or. ;
atmp[h][1] == atmp[h][3] .or. ;
atmp[h][3] == atmp[h][2]
HB_ADel( aTmp, h, .t. )
Endif
next
but then it happens ...
- Thu Sep 01, 2022 7:59 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Backup from inside FWH program
- Replies: 0
- Views: 2691
Re: Backup from inside FWH program
... key that let me select the databases to use (depending on code that will be changed)
In the code where i'm working before executing the changing loops, call the backup routine making datetime stamp copy's of the data. That way I will have the latest version at hand if I do the code wrong..
Seems ...
In the code where i'm working before executing the changing loops, call the backup routine making datetime stamp copy's of the data. That way I will have the latest version at hand if I do the code wrong..
Seems ...
- Sat May 28, 2022 4:03 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: start at the end and go back in an array - RESOLVED --
- Replies: 19
- Views: 1383
Re: start at the end and go back in an array
... as we have a RAScan() we should have a RAEval(). It is not difficult to implement it and we can do it
Unless there is a function AReverse() (also missing) that I am not aware of.
Dear Otto,
AEval(), AScan(), etc. are much faster than using for ... next loops as they don't use pcode for the loops.
Unless there is a function AReverse() (also missing) that I am not aware of.
Dear Otto,
AEval(), AScan(), etc. are much faster than using for ... next loops as they don't use pcode for the loops.
- Fri May 13, 2022 8:42 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Help with ascan
- Replies: 16
- Views: 1674
Re: Help with ascan
Dear Silvio,
If you need fastest speed then forget about for ... next loops
use AEval() and AScan() only
If that is not fast enough, then you have to code it in pure C language. C language is the fastest speed you will ever get.
Antonio,
I not understood
If I make
number:= 34
cFilter := "oDbf ...
If you need fastest speed then forget about for ... next loops
use AEval() and AScan() only
If that is not fast enough, then you have to code it in pure C language. C language is the fastest speed you will ever get.
Antonio,
I not understood
If I make
number:= 34
cFilter := "oDbf ...
- Fri May 13, 2022 7:43 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Help with ascan
- Replies: 16
- Views: 1674
Re: Help with ascan
Dear Silvio,
If you need fastest speed then forget about for ... next loops
use AEval() and AScan() only
If that is not fast enough, then you have to code it in pure C language. C language is the fastest speed you will ever get.
If you need fastest speed then forget about for ... next loops
use AEval() and AScan() only
If that is not fast enough, then you have to code it in pure C language. C language is the fastest speed you will ever get.
- Tue Dec 14, 2021 2:46 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Focus error on this new project
- Replies: 16
- Views: 2155
Re: Focus error on this new project
... with a nice visual of a wheel that is progressing
Some 'questions' are inside the code, is you have the time to look ))
TDatabase
Do -> while loops also with a nice visual wheel of progress bar.
I start the project with my own dbf's, so maybe a good idea to send a email adres to marc(at)maveco ...
Some 'questions' are inside the code, is you have the time to look ))
TDatabase
Do -> while loops also with a nice visual wheel of progress bar.
I start the project with my own dbf's, so maybe a good idea to send a email adres to marc(at)maveco ...
- Tue Aug 03, 2021 5:09 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: HTML Report - is there a reason nobody cares?
- Replies: 27
- Views: 2941
Re: HTML Report - is there a reason nobody cares?
... programming?
I can't describe it better.
page break
I solve the page break similar to EasyReport.
I specify an area height and then count the loops and make a break when it is reached.
Otto
Thank you for the info.
Yes, Ayaan has started showing interests in programming
Greetings from all of ...
I can't describe it better.
page break
I solve the page break similar to EasyReport.
I specify an area height and then count the loops and make a break when it is reached.
Otto
Thank you for the info.
Yes, Ayaan has started showing interests in programming
Greetings from all of ...
- Mon Aug 02, 2021 12:52 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: HTML Report - is there a reason nobody cares?
- Replies: 27
- Views: 2941
Re: HTML Report - is there a reason nobody cares?
... programming?
I can't describe it better.
page break
I solve the page break similar to EasyReport.
I specify an area height and then count the loops and make a break when it is reached.
// insert a table cHtml += memoread("table_th.htm") for I := 1 to 25 if I = 10 cText := "</table ...
I can't describe it better.
page break
I solve the page break similar to EasyReport.
I specify an area height and then count the loops and make a break when it is reached.
// insert a table cHtml += memoread("table_th.htm") for I := 1 to 25 if I = 10 cText := "</table ...
- 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)
... necessary. This avoids the overhead of creating a new matrix and
releasing it.
Normally, FW_Matrix class should be enough for most applications.
Where large computations are to be performed in large loops writing the
code in C using these C functions improves the execution speed considerably.
releasing it.
Normally, FW_Matrix class should be enough for most applications.
Where large computations are to be performed in large loops writing the
code in C using these C functions improves the execution speed considerably.
- Fri Dec 11, 2020 12:27 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWH: Support for Matrix calculations
- Replies: 3
- Views: 993
Re: FWH: Support for Matrix calculations
... matrix and releasing it.
Normally, FW_Matrix class should be enough for most applications. Where large computations are to be performed in large loops writing the code in C using these C functions improves the execution speed considerably.
Example:
This code written using FW_Matrix() is taking 3 ...
Normally, FW_Matrix class should be enough for most applications. Where large computations are to be performed in large loops writing the code in C using these C functions improves the execution speed considerably.
Example:
This code written using FW_Matrix() is taking 3 ...
- Thu Dec 10, 2020 8:31 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWH: Support for Matrix calculations
- Replies: 3
- Views: 993
FWH: Support for Matrix calculations
... FW_Matrix follows. In this class, all computations are performed in Harbour code. Though this is quite fast enough mostly, there can be more demanding applications that need complex matrix calculations performed in large loops. To support this, highly optimized C level functions are also provided.