Even better, I've committed it, with some more minor opt.
[
didn't test it though, probably we should have an hb_alert()
function with this and maybe more feature, I was thinking
adding it. IMO we should gradually do something with all
HB_EXTENSIONs we have, there isn't too many in fact:
ALERT()
AT() -> HB_AT()
GETE() -> HB_GETENV()
GETENV() -> HB_GETENV()
MEMOWRIT() -> HB_MEMOWRIT()
MEMOLINE(), MLCOUNT(), MLPOS(), MLCTOPOS(), MPOSTOLC() -> Set( _SET_EOL,
... )
SAVESCREEN()/RESTSCREEN() -> functionality ignored
__SetFunction() -> 11/12 -> K_F11/K_F12 or SetKey( nFunctionKey, {||
__Keyboard(), hb_KeyPut( xKeySeq ) } )
RADIOBUTTON()
]
Brgds,
Viktor
On Thu, May 7, 2009 at 6:24 PM, Przemyslaw Czerpak <[email protected]>wrote:
> On Thu, 07 May 2009, Przemyslaw Czerpak wrote:
> > > 2009-05-07 15:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
> > > * source/rtl/alert.prg
> > > + Added TIMESTAMP support for Alert() (extended mode only)
> > What do you think about using:
> > cMessage := hb_CStr( xMessage )
>
> Ups, it should be:
>
> if hb_isString( xMessage )
> cMessage := StrTran( xMessage, ";", Chr( 10 ) )
> else
> cMessage := hb_CStr( xMessage )
> endif
>
> best regards,
> Przemek
> _______________________________________________
> Harbour mailing list
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour