Search found 138 matches: locals

Return to advanced search

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: 439

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: 4652

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: 253

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: 253

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: 497

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: 953

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: 4334

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: 1271

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: 1271

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: 1144

Re: Button click action

Hi Joao,
I think it has to do as I create the button with the principle of detached locals.
Best regards,
Otto
by Otto
Mon Nov 22, 2021 7:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Button click action
Replies: 19
Views: 1477

Re: Usar o no variables publicas.

even statics need to be released with nil This is not true. STATIC variables can't be released as they have static lifetime. I also believe Locals execute faster at run-time. I don't think so. STATIC variables are created at program startup and automatically released at the program end, while ...
by Enrico Maria Giordano
Thu Mar 25, 2021 8:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Usar o no variables publicas.
Replies: 16
Views: 3031

Re: Usar o no variables publicas.

... .. specifically if you need to update a Static value within your .prg and have visibility within the .prg ..Hash's works great if you want to pass locals and update locals with visibility in other functions that have multiple .prgs. My choice is to always use locals .. even statics need to be released ...
by Rick Lipkin
Thu Mar 25, 2021 1:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Usar o no variables publicas.
Replies: 16
Views: 3031

Re: Bad workaround for code that i can't get working

... inside the loop. If and when that becomes necessary, we need to create the codeblock in a separate function using the principle of detached locals. Instead, I advise you to create the 3 buttons individually like this: @ r, c BTNBMP PROMPT { || TOKEN( FIELD->NAAM, nil, 1 ) ...
by nageswaragunupudi
Sun Mar 21, 2021 4:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bad workaround for code that i can't get working
Replies: 2
Views: 433

Re: galería de imágenes

... x     := nHGutter      nCol  := 1      do while nCol <= nCols .and. nImage <= nImages         // llamo a una funcion para conseguir detached locals         LiAlbumImage(y, x, nImgWidth, nImgHeight, oPanel, aPhotos, aRecno, nImage, nVGutter, oDlgAlbum)         nImage++         nCol++  ...
by José Luis Sánchez
Sun Jan 24, 2021 3:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: galería de imágenes
Replies: 52
Views: 16977
Next

Return to advanced search