Search found 53 matches: owned

Return to advanced search

Re: How to create a PRIVATE variable owned by the caller?

Code: Select all  Expand view
Error description: (DOS Error 2) BASE/2005  Open error: MYTEST.MEM
by Enrico Maria Giordano
Wed Jan 11, 2023 8:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to create a PRIVATE variable owned by the caller?
Replies: 21
Views: 896

Re: How to create a PRIVATE variable owned by the caller?

CreateMem() is not neccesary for private declaration on top main function: #include "Fivewin.ch"FUNCTION MAIN()// Note !!!!!! Try without that function call/*    CREATEMEM( "MYTEST.MEM", "TEST", "Hello" )  *///    ? M -> TEST // it does not exist he...
by hmpaquito
Wed Jan 11, 2023 7:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to create a PRIVATE variable owned by the caller?
Replies: 21
Views: 896

Re: How to create a PRIVATE variable owned by the caller?

Please look at this sample: #include "Fivewin.ch"FUNCTION MAIN()    CREATEMEM( "MYTEST.MEM", "TEST", "Hello" )//    ? M -> TEST // it does not exist here    __MVRESTORE( "MYTEST.MEM", .T. )&nbs...
by Enrico Maria Giordano
Tue Jan 10, 2023 8:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to create a PRIVATE variable owned by the caller?
Replies: 21
Views: 896

Re: How to create a PRIVATE variable owned by the caller?

Harbour only? https://vivaclipper.wordpress.com/2014/01/23/__mvget/ https://vivaclipper.wordpress.com/2014/01/23/memvarblock/ https://hmgforum.com/esgici/vivaclipper.wordpress.com/tag/__mvget/index.html https://harbour.github.io/doc/harbour....
by karinha
Tue Jan 10, 2023 7:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to create a PRIVATE variable owned by the caller?
Replies: 21
Views: 896

Re: How to create a PRIVATE variable owned by the caller?

PRIVATE Create and initialize private memory variables and arrays Syntax PRIVATE <identifier> [[:= <initializer>], ... ] Arguments <identifier> is the name of a private variable or array to create. If the <identifier> is followed by square brackets ([ ]), an array is created...
by hmpaquito
Tue Jan 10, 2023 6:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to create a PRIVATE variable owned by the caller?
Replies: 21
Views: 896

Re: How to create a PRIVATE variable owned by the caller?

No, it is possible. Please look at RESTORE FROM command.
by Enrico Maria Giordano
Tue Jan 10, 2023 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to create a PRIVATE variable owned by the caller?
Replies: 21
Views: 896

Re: How to create a PRIVATE variable owned by the caller?

Hola,

Por definicion una variable PRIVATE tiene ambito en la funcion que la crea y en las funciones que son llamadas por la funcion que la crea.

En el caso que vd. expone es normal que no funcione.

Use en su caso PUBLIC

Salu2
by hmpaquito
Tue Jan 10, 2023 3:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to create a PRIVATE variable owned by the caller?
Replies: 21
Views: 896

How to create a PRIVATE variable owned by the caller?

... it does not exist here    RETURN NILSTATIC FUNCTION CREATEVAR( cName, xValue )    // How to create a PRIVATE variable owned by the caller?    __MVPRIVATE( cName )    __MVPUT( cName, xValue )    ? M -> TEST    ...
by Enrico Maria Giordano
Tue Jan 10, 2023 2:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to create a PRIVATE variable owned by the caller?
Replies: 21
Views: 896

Re: Advantage Database Server

... ( 2 or 3 workstations ) and they are fine with Peer to Peer, estpecally with the current fast computers and networks. My concern is that ADS is owned by SAP, which is a company driven by profits, and it appears they are fading it out. I am a "partner" so I can buy directly from them. ...
by TimStone
Thu Jan 13, 2022 5:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Advantage Database Server
Replies: 32
Views: 3905

Re: Bloated EXEs (reprise)

Antonio, did you mean by "FWH libs replace Harbour errorsys", that the FWH owned errorsys is linked automatically and the size of the .exe can be explained by this? yes Then why this sample is still 3195904 in size? FUNCTION MAIN()    RETURN NILFUNCTION ...
by Enrico Maria Giordano
Wed Jul 26, 2017 7:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bloated EXEs (reprise)
Replies: 33
Views: 5241

Re: Bloated EXEs (reprise)

gkuhnert wrote:Antonio,
did you mean by "FWH libs replace Harbour errorsys", that the FWH owned errorsys is linked automatically and the size of the .exe can be explained by this?


yes
by Antonio Linares
Wed Jul 26, 2017 2:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bloated EXEs (reprise)
Replies: 33
Views: 5241

Re: Bloated EXEs (reprise)

Antonio,
did you mean by "FWH libs replace Harbour errorsys", that the FWH owned errorsys is linked automatically and the size of the .exe can be explained by this?
by gkuhnert
Mon Jul 24, 2017 1:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bloated EXEs (reprise)
Replies: 33
Views: 5241

Re: Artificial intelligence - Class TPerceptron

... disk, probably written in Fortran 77. I did do some derivative work based on that method, written for an aerospace company, which means nothing I owned or can share as I wouldn't have a copy. I suppose the original code I wrote it in college I own. If I can find it I'll see about porting it to ...
by rhlawek
Fri May 19, 2017 3:03 am
 
Forum: AI Introduction (Harbour code and samples)
Topic: Artificial intelligence - Class TPerceptron
Replies: 29
Views: 8236

Re: ADS(linux) Error 5004

... Mp10=/long path name Now change your long path name to Mp10. That's all. BTW, you don't need to share the directory. I like to keep it owned by the "advantage" user/group and set to 660 which means that only the owner can read/write. In this manner no other user but the server ...
by reinaldocrespo
Fri Jan 20, 2017 9:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADS(linux) Error 5004 (solved)
Replies: 6
Views: 1166
PreviousNext

Return to advanced search