Search found 60 matches: statics

Return to advanced search

Re: CodeBlock

... PHB_SYMB pDefSymb; /* symbol where the codeblock was created */ PHB_ITEM pLocals; /* table with referenced local variables */ void * pStatics; /* STATICs base frame */ HB_USHORT uiLocals; /* number of referenced local variables */ HB_SHORT dynBuffer; /* is pcode buffer allocated dynamically, SHORT ...
by Antonio Linares
Tue Nov 01, 2022 7:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CodeBlock
Replies: 2
Views: 276

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 ...
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.

To All I only use Publics for defining System wide user roles .. Read, Write, Supervisor and Admin... Statics work fine in a .prg with many functions .. specifically if you need to update a Static value within your .prg and have visibility within the .prg ..Hash's works great ...
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

public variables yes or not

... but quasi-interpreted So the behavior is more similar to what dbase was where there were only public and private variables The usefulness of statics is highly debatable in this type of program and they are also shared between threads when there are simultaneous requests Therefore, if you ...
by Otto
Wed Sep 23, 2020 7:27 am
 
Forum: mod_harbour
Topic: public variables yes or not
Replies: 0
Views: 271

Re: Harbour y variables statics

Hola Jose:

mi versión de fivewin es antigua y siempre trato de ayudar a toda la gente que no tiene la oportunidad de actualizarse con frecuencia, en la cual me incluyo.

Saludos
by armando.lagunas
Thu Jul 18, 2019 1:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Harbour y variables statics
Replies: 6
Views: 848

Re: Harbour y variables statics

Define las variables estaticas al principio de cada PRG #include "FiveWin.ch"#include "xBrowse.ch"#include "Viking_Master.ch"#include "TSButton.ch"#include "noway.ch"#include "DTPicker.ch"#include "Image.ch" MEMVAR oAppSTATIC cOr...
by jvtecheto
Thu Jul 18, 2019 7:32 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Harbour y variables statics
Replies: 6
Views: 848

Re: Harbour y variables statics

Define las variables estaticas al principio de cada PRG #include "FiveWin.ch"#include "xBrowse.ch"#include "Viking_Master.ch"#include "TSButton.ch"#include "noway.ch"#include "DTPicker.ch"#include "Image.ch" MEMVAR oAppSTATIC cOr...
by Compuin
Wed Jul 17, 2019 10:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Harbour y variables statics
Replies: 6
Views: 848

Re: Harbour y variables statics

Define las variables estaticas al principio de cada PRG #include "FiveWin.ch"#include "xBrowse.ch"#include "Viking_Master.ch"#include "TSButton.ch"#include "noway.ch"#include "DTPicker.ch"#include "Image.ch" MEMVAR oAppSTATIC...
by armando.lagunas
Wed Jul 17, 2019 10:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Harbour y variables statics
Replies: 6
Views: 848

Re: Harbour y variables statics

hmpaquito wrote:Una pregunta ¿ Cuando no fue posible usar variables estaticas en un modulo HRB ?


Hmpaquito, si lo estoy preguntando es por que realmente no lo se.

No deberias ser sarcastico al responder una duda de un miembro de este foro.
by Compuin
Wed Jul 17, 2019 5:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Harbour y variables statics
Replies: 6
Views: 848

Re: Harbour y variables statics

Una pregunta ¿ Cuando no fue posible usar variables estaticas en un modulo HRB ?
by hmpaquito
Wed Jul 17, 2019 5:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Harbour y variables statics
Replies: 6
Views: 848

Harbour y variables statics

Hola,

Ya es posible en harbour utilizar variables estaticas en un programa HRB ???
by Compuin
Wed Jul 17, 2019 5:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Harbour y variables statics
Replies: 6
Views: 848

Re: A toolbox of netfunctions

Uwe, Also you must have oCust declared as a static because you didn't pass it. I don't recommend using statics. And I don't recommend calling functions to manipulate the database. If you want to modify the database's behavior then create a subclass and override a method (like ...
by James Bott
Thu Jan 24, 2019 4:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A toolbox of netfunctions and tDatabase-tests
Replies: 30
Views: 6233

Re: Password protected access to menu. Advice ?

Marc, To early I can't see the logic. Are you familiar with STATICs? This is just using a static variable inside a function to hold an object. The reason for doing this is because the static will hold the object until the program is ended. So, you can ...
by James Bott
Wed May 10, 2017 2:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Password protected access to menu. Advice ?
Replies: 25
Views: 3505

Re: Migracion a Harbour

Me parece que no es el tipo de reentrada al que se refiere el problema con las STATICs, independientemente del cuidado que hay que tener en la programación de cosas expuestas a eventos como es la programación en Windows. Los problemas de alto nivel se pueden superar ...
by hmpaquito
Wed Mar 15, 2017 10:15 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Migracion a Harbour
Replies: 16
Views: 3008

Re: Migracion a Harbour

... en esas condiciones dará lugar a errores, sino se lleva cuidado. Me parece que no es el tipo de reentrada al que se refiere el problema con las STATICs, independientemente del cuidado que hay que tener en la programación de cosas expuestas a eventos como es la programación en Windows. Los problemas ...
by Carlos Mora
Wed Mar 15, 2017 9:35 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Migracion a Harbour
Replies: 16
Views: 3008
Next

Return to advanced search