A.Martínez | 1 Jun 09:33
Picon

My first decision cube ! a very early prototype !


*
#xCommand ;
DEFINE CUBOCAL <oCubo>    ;
       ALIAS   <cAlias>   ;
       ACUMULA   <abAcumula>    ;
      [RESULTADO <abResultado>] ;
       ;
       => ;
       ;
       <oCubo>:= TCuboCal():New(<cAlias>, <abAcumula>, <abResultado>)
#xCommand ;
   ADDTO  CUBOCAL   <oCubo>        ;
          EXPRESION <bExpresion>   ;
          LEYENDA   <bLeyenda>     ;
          NAME      <cName>        ;
         ;
         => ;
         ;
         <oCubo>:AddItem(<bExpresion>, <bLeyenda>, <cName>)
*
*

//--------------------------------------------------------------------------
//
STATIC FUNCTION Example()
#Include "CuboCal.Ch"
Local oCubo
*
*
(Continue reading)

Viktor Szakáts | 8 Jun 15:57
Picon

Unsubscribe and general Google Groups support questions

> Possible activate moderation for new users but is't all works for mailing admin(Viktor)

It's a temporary problem, so general moderation or general 
moderation for new users is overkill and needs a staff.

Since there are a total of exactly 600 subscribers ATM, 
and while I made sure everyone gets enough information 
on multiple levels, I certainly cannot deal with everyone 
individually, so I'd kindly ask users to help each other.

Everyone pls pass below information _in private_ to the 
users who have trouble.

- To unsubscribe, it's enough to write an e-mail here:
     harbour-devel+unsubscribe@...
  or
     harbour-users+unsubscribe@...
  (obviously from the e-mail address to be unsubscribed)

- To change subscription settings:
     http://groups.google.com/support/bin/answer.py?hl=en&answer=46605

- Other issues:
     http://groups.google.com/support/bin/topic.py?topic=9216

[ This is my final e-mail answering to such support issue. ]

Viktor

(Continue reading)

Viktor Szakáts | 8 Jun 13:40
Picon

Mailing list migration finished

Hi All,

After one week of transitional period the mailing list migration 
is finally finished.

- All former list subscribers are now migrated (except who did 
  specifically setup their Google account to not allow addition 
  to mailing lists), most of them hopefully with retained 
  digest/non-digest status.
  NOTE: I didn't add anybody who wasn't on the former lists, so 
        please carefully read Google Groups information before 
        asking on the list setup basic things or unsubscribe:
           http://groups.google.com/support/
- Owners of the mailing lists are the active Harbour Admins.
- Current subject prefixes are '[harbour]' and '[harbour-users]'.
- Pages and Files can be edited by all members.
- Logos have been changed for properly cropped ones with transparent 
  background.
- sf.net commit messages may need moderator approval as they are 
  often deemed spam by Google. The senders need to be manually 
  added one by one to allow posting.
- Links have been setup on the welcome pages pointing to 
  places of interests for developers / users.
- Link to Google Groups support pages has been added.
- It's pretty easy to start new groups and also very easy to 
  manage multiple groups under one account, so I think now 
  the barrier to attach/detach larger subgroups of Harbour 
  users (f.e. interested in specific contribs or 3rd party 
  packages) is much easier and can be a big help on the long run.
- Such subgroups with reasonable amount of traffic are welcome to 
(Continue reading)

Massimo Belgrano | 7 Jun 13:18
Picon

Where can found other info/manual regarding Clipper & harbour ?

Where can found other info/manual regarding harbour & clipper ?

Follow my list
Ca Clipper Manual 
Documentation of HMG library (Harbour Mini gui)   online: http://www.hmgforum.com/hmgdoc/hmgdoc.htm
[X]harbour doc  http://www.oohg.org/manual/harbour/(x)harbour.html
Soruce Sample www.mig2soft.com
Sharing doc on harbour group of harbour  http://groups.google.com/group/harbour-users/web


Please post here any suggestion
Thanks 
--
Massimo Belgrano


Massimo Belgrano | 6 Jun 12:08
Picon

Visualizza questa pagina "How using hbmk2?"

I invite
share harbour info at
http://groups.google.com/group/harbour-users/web

Fai clic su http://groups.google.com/group/harbour-users/web/how-using-hbmk2
- oppure, se non funziona, copialo e incollalo nella barra degli
indirizzi del browser.

Massimo Belgrano | 6 Jun 11:28
Picon

Visualizza questa pagina "Understanding Harbour GT"

As usual we try learn by question by sample, significative posting
Author:   druzus and harbour mailing list 2009-2010 collected by
mbelgrano
Please revise any error and add your option

Fai clic su http://groups.google.com/group/harbour-users/web/understanding-harbour-gt
- oppure, se non funziona, copialo e incollalo nella barra degli
indirizzi del browser.

dougf | 6 Jun 07:02
Picon

Re Life of an Object

Thanks Pritpal for a very informative answer.

I hadn't ever had a software problem with this yet, but was never sure of what was happening either.  And a project I am now working on would need some recycling of memory resources used by objects created  along the way but later not needed.

Regards
Doug (xProgrammer)

Artem Kuroptev | 5 Jun 19:55
Picon

dbedit() couse "Error BASE/1106 Argument error: REPLICATE"

I am trying to migrate my application from Nantucket Clipper 5 to
Harbour.
The application terminates on call of dbedit() regardless of arguments
with the following trace:

Error BASE/1106  Argument error: REPLICATE
Called from REPLICATE(0)
Called from _DISP_FHSEP(0)
Called from TBROWSE:DISPFRAMES(0)
Called from TBROWSE:STABILIZE(0)
Called from DBEDIT(0)
Called from TEDIT(65)
Called from BS(135)

What may cause this behavior?
Thanks.

Pritpal Bedi | 5 Jun 09:48
Picon
Favicon

Re: Life of an Object in Harbour (Garbage Collection / Destructor)

Hi

> obj_MyObject := TMyClass():New()
>
> What is its life?  The scope of the variable obj_MyObject?

It depends on type of obj_MyObject.
Static, Public, Private, Local which are determinate factors
of lifespan of a variable.

> If I want to free the memory obj_MyObject consumes can I achieve this
> by
>
> obj_MyObject := nil

Yep.

> or by
>
> RELEASE obj_MyObject

No need. NIL will do.

> What happens if I re-use obj_MyObject, for example use it to point to
> another object

Until original variable holding the another object is in scope,
it will not affect that.

> obj_MyObject := TMyClass():New()  // a second invocation

First object will be destroyed automatically and new will be assigned.

Regards
Pritpal Bedi

doleynikov | 5 Jun 09:33
Picon

where can I find any books about Harbour?

Hello Everyone!
Is there a place to find harbour documentation not splitted into
hundreds of TXt files? all in one document needed. I'd like to see
manuals for HBIDE, using SQL servers (with working examples)written
for beginners, not professionals. It would be also usefull to have
manuals on some frequently used libraries.

I am writing this because I am tired of looking into sources, readmes
and changelogs. most of them are written for those, who uses tham
tools for many years, many examples are not working (or there are no
instructions how to male them work)

THanks a lot!

AaMs | 5 Jun 03:00
Picon
Favicon

Menu and GTWVG

Hi all,
I use the very nice library "gtwvg" to give my old application (ca-
clipper 5.2e) a graphic look.  My problem is that I don't  know how to
implement hilighted key (accelerators) in the main menu.
Portion of code

g_oMenuBar := wvtMenu():new():create()
...
oMenu:AddItem( "Invoice"      , {|| Myfunction()   })
...

Any help is welcome. Thank you in advance


Gmane