Search found 273 matches: memvar

Return to advanced search

Re: Intentando un primer archivo make

Yo primero declaro las variables publicas y privadas dentro de un .ch con MEMVAR, luego declaro las PUBLIC dentro del MAIN y las privadas dentro del PRG que corresponda.

Te enviare a tu correo los archivos que yo uso para que los adaptes a tu caso particular.
by JoseAlvarez
Wed Feb 28, 2024 12:22 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Intentando un primer archivo make (RESUELTO)
Replies: 8
Views: 245

Re: Lost connection to MySQL server during query

... of the application I activate it ** oMAE00VAR:tiempo = number of minutes, normally I put it 2 minutes and define it as an external variable ** MEMVAR->oWPrincipal = It is my main dialog when opening the application MEMVAR->NTIMER :=oMAE00VAR:tiempo*60000 //----------------------------------------------------------------------------// ...
by cjcardoza
Sat Aug 05, 2023 3:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Lost connection to MySQL server during query
Replies: 37
Views: 12381

Re: FWMariaDb- tengo un error

espero que este ejemplo aclare lo que quieras obtener aVerultpr:=MEMVAR->oConex:QueryResult("SELECT B.feccpg,A.precio,A.undmed FROM movimdet AS A "+; "LEFT JOIN movimmov AS B ON B.tipcpg=A.tipcpg AND B.sercpg=A.sercpg AND B.nrocpg=A.nrocpg ...
by cjcardoza
Mon Jun 12, 2023 6:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FWMariaDb- tengo un error
Replies: 2
Views: 164

Re: Fivewin multi-threading Support ?

... @::aSource or @MYaSource (per reference) :?: #define HB_THREAD_INHERIT_PUBLIC    1#define HB_THREAD_INHERIT_PRIVATE   2#define HB_THREAD_INHERIT_MEMVARS   3#define HB_THREAD_MEMVARS_COPY      4 i know HB_THREAD_INHERIT_PUBLIC but what is the Difference to PRIVATE or MEMVAR :?: what does MEMVARS_COPY ...
by Jimmy
Sun Feb 26, 2023 6:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin multi-threading Support ?
Replies: 9
Views: 531

Re: Create a variable

Yes, but it won't be local

Simply assign it. At the top write:

memvar MyVar

later in your code:

MyVar = ...

but it will not be local, it will be public
by Antonio Linares
Wed Nov 16, 2022 8:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a variable
Replies: 11
Views: 737

Re: Harbour warnings

... http://www.xharbour.org http://www.harbour-project.org/ Syntax: d:\xPrueba\harbour.exe <file[s][.prg]> [options] Options: /a automatic memvar declaration /b debug info /build display detailed version info /credits display credits /d<id>[=<val>] #define <id> /es[<level>] ...
by hmpaquito
Fri Jun 24, 2022 4:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Harbour warnings
Replies: 34
Views: 2335

Re: USAR IMPRESORA FISCAL BERMATECH EN VENEZUELA EN PDV

Saludos Publico el codigo que utilizo con bematech #include "..\INCLUDE\DPXBASE.CH" MEMVAR oDp /* // Inicializa la Impresora */ FUNCTION BEMA_INI() LOCAL nRet,cError:="",I LOCAL cWinDir :=GetWinDir()+"\System32\" LOCAL cFileDll:=cWinDir+"bemafi32.dll" ...
by jnavas
Wed Apr 27, 2022 9:57 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: USAR IMPRESORA FISCAL BERMATECH EN VENEZUELA EN PDV
Replies: 21
Views: 7811

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

test1.prg(72) Warning W0002 Ambiguous reference, assuming memvar 'LSERVER' Where the PUBLIC or PRIVATE variable is used you have to use the MEMVAR declaration or the M -> prefix: MEMVAR lServer or M -> lServer EMG ok but on my old clipper prg I ...
by Silvio.Falconi
Fri Mar 04, 2022 12:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Conversion from ca-clipper ( not found a variable)
Replies: 30
Views: 4345

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

Marc Venken wrote:test1.prg(72) Warning W0002 Ambiguous reference, assuming memvar 'LSERVER'


Where the PUBLIC or PRIVATE variable is used you have to use the MEMVAR declaration or the M -> prefix:

MEMVAR lServer

or

M -> lServer

EMG
by Enrico Maria Giordano
Fri Mar 04, 2022 9:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Conversion from ca-clipper ( not found a variable)
Replies: 30
Views: 4345

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

... : In this code (parts) , from the main function the warning log says folowing : test1.prg(72) Warning W0002 Ambiguous reference, assuming memvar 'LSERVER' test1.prg(73) Warning W0002 Ambiguous reference, assuming memvar 'SERVER_PATH' test1.prg(75) Warning W0002 Ambiguous reference, assuming ...
by Marc Venken
Thu Mar 03, 2022 11:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Conversion from ca-clipper ( not found a variable)
Replies: 30
Views: 4345

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

... Rare exceptions, xHarbour follows the same logic, that's why I like xHarbour better. https://harbour.github.io/doc/clc53.html#memvar-cmd I always followed the instructions in manuals and books that adopted the CA-CLIPPER syntax. I've never had problems, I always DECLARE: FIELD, ...
by karinha
Wed Mar 02, 2022 9:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Conversion from ca-clipper ( not found a variable)
Replies: 30
Views: 4345

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

the experts of fwh / harbor / clipper have always recommended me not to use the memvar and then in the old source of ca-clipper they are local Esta información es incorrecta. Puede DECLARAR las variables a voluntad. LOCAL // usar a voluntad GLOBAL // usar con moderación ...
by karinha
Wed Mar 02, 2022 1:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Conversion from ca-clipper ( not found a variable)
Replies: 30
Views: 4345

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

Now The function run I insert Memvar but the experts of fwh / harbor / clipper have always recommended me not to use the memvar and then in the old source of ca-clipper they are local https://i.postimg.cc/Wbf9jW57/n.png problems: ...
by Silvio.Falconi
Wed Mar 02, 2022 1:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Conversion from ca-clipper ( not found a variable)
Replies: 30
Views: 4345

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

I not understood, where is the error, on ca-clipper it was ok

the c1,c2... are not memvar but local and each combination have different C(n) there is one have until C45

I not understood why you must change my code allways
by Silvio.Falconi
Tue Mar 01, 2022 5:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Conversion from ca-clipper ( not found a variable)
Replies: 30
Views: 4345

Re: Working on Mdi

...   RESOURCE "pazienti" On TPaziente.prg MemVar oMOpc, oBBar I don't know if it is right to use Memvar, in clipper I never used them or so I remember On method New() of Tpaziente IF !Empty(oItem)  ...
by Silvio.Falconi
Thu Jan 13, 2022 8:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Working on Mdi
Replies: 7
Views: 374
Next

Return to advanced search