Search found 143 matches: locals

Return to advanced search

Re: passing a value through a for..next loop

... a loop. Build the code-block in a separate function using the loop variable as one of the parameters of the function. Please search for detached locals in this forum. Keeping this principle in mind, I am sure you can yourself modify the program to use the index in bChange also. For now, I am ...
by Silvio.Falconi
Tue May 14, 2024 7:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 514

Re: passing a value through a for..next loop

... a loop. Build the code-block in a separate function using the loop variable as one of the parameters of the function. Please search for detached locals in this forum. Keeping this principle in mind, I am sure you can yourself modify the program to use the index in bChange also. For now, I am ...
by nageswaragunupudi
Mon May 13, 2024 7:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 514

Re: passing a value through a for..next loop

... known and was discussed many times in this forum. The solution is to create each control in a separate function using the principle of detached locals. Search for detached locals in this forum. The sample provided by Mr. Antonio above is the right way to go. This is a working program using the ...
by Silvio.Falconi
Mon May 13, 2024 7:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 514

Re: passing a value through a for..next loop

... known and was discussed many times in this forum. The solution is to create each control in a separate function using the principle of detached locals. Search for detached locals in this forum. The sample provided by Mr. Antonio above is the right way to go. This is a working program using the ...
by nageswaragunupudi
Sun May 12, 2024 2:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 514

Re: passing a value through a for..next loop

... of oWnd <clauses> // note this value of "n" remains the same till oGet goes out of scope // the principle is called "detached locals" return oGet
by Antonio Linares
Fri May 10, 2024 2:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 514

Re: come recuperare il codice fivewin da .c file

... it using chatgpt: recover the original PRG code from this pcode: HB_FUNC( APRIDBCONPASSWORD ) { static const BYTE pcode[] = { HB_P_FRAME, 0, 2, /* locals, params */ /* 00003 */ HB_P_BASELINE, 138, 0, /* 138 */ HB_P_PUSHLOCALNEAR, 2, /* PASSWORD */ HB_P_PUSHNIL, HB_P_EXACTLYEQUAL, HB_P_JUMPFALSENEAR, ...
by Antonio Linares
Mon Feb 12, 2024 9:55 pm
 
Forum: All products support
Topic: come recuperare il codice fivewin da .c file
Replies: 7
Views: 490

Re: phpBB to LLM

... line 311, in run_setup exec(code, locals()) File "<string>", line 15, in <module> Exception: You tried to install "pytorch". The package named for PyTorch ...
by alerchster
Mon Dec 25, 2023 6:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: phpBB to LLM
Replies: 33
Views: 4881

Re: genblock

hi Silvo, as Detlef say : detached Locals when build in a "Loop" and use "Counter" you must call a Function to build a String for Codeblock so your "Counter" Number will be a STR() in a String      FOR ii := 1 ...
by Jimmy
Mon Jun 12, 2023 7:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: genblock
Replies: 5
Views: 264

Re: genblock

dear Silvio,

search the forum for detached locals.
Or have a look here http://forums.fivetechsupport.com/viewtopic.php?f=3&t=41373&hilit=detached+local

Regards, Detlef
by Detlef
Mon Jun 12, 2023 11:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: genblock
Replies: 5
Views: 264

Re: xbrowse y detached variables

Antonio muchas gracias pero no resuelve el problema he creado un mejor ejemplo donde SI funciona una columna definida sin detached locals pero sigue sin funcionar como columna calculada #include 'fivewin.ch'#include 'xbrowse.ch'function main()    local aKeys   := {'pichincha','internacio'}  ...
by wilsongamboa
Sun Aug 21, 2022 7:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse y detached variables
Replies: 7
Views: 503

Re: xbrowse and detached variables Mr Rao please Help

Dear Marc many thanks for your help but unfortunately does;n solve my problem I prepare better example if I don't use detached locals work Well like the column tipo_docu1 In real life we need fields like pichincha an internatio as a result of data driven code because may have 2 columns ...
by wilsongamboa
Sun Aug 21, 2022 7:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse and detached variables Mr Rao please Help
Replies: 14
Views: 998

Re: Conversion from ca-clipper ( not found a variable)

... routine that uses them or you will get compiler warnings. Of course, since they are visible everywhere, you always run the risk of conflicts with locals and fieldnames. Note that here we are using a static variable oUser (an object). A static variable retains its value as long as the program is ...
by James Bott
Thu Mar 10, 2022 7:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Conversion from ca-clipper ( not found a variable)
Replies: 30
Views: 4603

Re: Colorized cell of xbrowse

Marc Venken wrote:Maybe you have also the issue with Detached Locals ?

http://forums.fivetechsupport.com/viewtopic.php?f=3&t=41373&hilit=detached+local


I need something of this
Image
by Silvio.Falconi
Sat Mar 05, 2022 11:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Colorized cell of xbrowse
Replies: 13
Views: 1340

Re: Colorized cell of xbrowse

by Marc Venken
Sat Mar 05, 2022 10:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Colorized cell of xbrowse
Replies: 13
Views: 1340

Re: Focus error on this new project

... when I click on folder1 (but is didn't) //-------------------------------------------------------------- I also see that you take time to set the locals, public variables and also the xxx:end() with fonts etc... Because it belongs to good programming? I think I should also start doing this right ...
by Marc Venken
Thu Dec 09, 2021 2:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Focus error on this new project
Replies: 16
Views: 1256
Next

Return to advanced search