Przemysław Czerpak
bcfb15e873
2014-01-07 13:01 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
...
* include/harbour.hbx
* src/rtl/hbdef.c
+ added new PRG function hb_defaultValue(). It's similar to hb_default()
but it returns expected value instead of setting 1-st parameter.
New function can be used to replace code like:
hb_default( @lParam, .T. )
IF lParam
[...]
ENDIF
with:
IF hb_defaultValue( lParam, .T. )
[...]
ENDIF
It's useful for two main reasons:
1) we do not damage original parameter value
2) if parameter is used only once then it's a little bit faster
* contrib/hbfship/stroccur.prg
! do not generate error when wrong parameters are passed to StrOccurs()
function (FS compatible behavior)
! set default value of 3-rd parameter in StrOccurs() to .T. only if it's not
passed at all, otherwise set it to .F. (FS compatible behavior)
% small simplification
* src/compiler/hbmain.c
! extended code which resolves conflicts with multiple static
functions with the same name compiled from different PRG modules
into single object file to resolve conflicts also with external
function calls. It should fix problem reported by Viktor.
2014-01-07 13:01:03 +01:00
..
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-10-09 20:08:24 +02:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-10-24 23:40:10 +03:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-10-09 20:08:24 +02:00
2013-03-16 02:11:42 +01:00
2013-10-09 20:08:24 +02:00
2013-10-09 20:08:24 +02:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-10-09 20:08:24 +02:00
2013-03-16 02:11:42 +01:00
2013-10-09 20:08:24 +02:00
2014-01-07 13:01:03 +01:00
2013-03-16 02:11:42 +01:00
2013-10-09 20:08:24 +02:00
2013-05-23 18:16:04 +02:00
2013-12-23 17:11:36 +01:00
2013-04-18 14:58:40 +02:00
2013-03-16 02:11:42 +01:00
2013-07-03 12:14:50 +02:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-10-09 20:08:24 +02:00
2013-12-23 17:11:36 +01:00
2013-10-09 20:08:24 +02:00
2013-04-05 16:27:40 +02:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-12-06 10:52:59 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-04-08 00:53:37 +02:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-04-18 14:58:40 +02:00
2013-03-15 11:13:30 +01:00
2013-10-09 20:08:24 +02:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-04-05 16:27:40 +02:00
2013-10-09 20:08:24 +02:00
2013-03-16 02:11:42 +01:00
2013-12-20 00:24:04 +01:00
2013-04-05 16:27:40 +02:00
2013-03-16 02:11:42 +01:00
2013-10-09 20:08:24 +02:00
2013-10-09 20:08:24 +02:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-06-19 14:31:24 +02:00
2013-11-06 23:09:59 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-10-09 20:08:24 +02:00
2013-04-05 03:02:47 +02:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-10-09 20:08:24 +02:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-10-09 20:08:24 +02:00
2013-04-05 16:35:37 +02:00
2013-03-16 02:11:42 +01:00
2013-06-11 20:26:16 +02:00
2013-04-05 16:27:40 +02:00
2013-10-24 23:40:10 +03:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-04-06 12:05:38 +02:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-15 11:13:30 +01:00
2013-12-23 17:11:36 +01:00
2013-03-16 02:11:42 +01:00
2013-10-09 20:08:24 +02:00
2013-10-09 20:08:24 +02:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-10-09 20:08:24 +02:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-10-09 20:08:24 +02:00
2013-03-16 02:11:42 +01:00
2013-03-15 11:13:30 +01:00
2013-10-09 20:08:24 +02:00
2013-03-16 02:11:42 +01:00
2013-09-24 16:59:52 +02:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-10-09 20:08:24 +02:00
2013-03-16 02:11:42 +01:00
2013-10-09 20:08:24 +02:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-12-18 21:05:06 +01:00
2013-12-18 21:05:06 +01:00
2013-03-16 02:11:42 +01:00
2013-04-22 15:38:35 +02:00
2013-10-09 20:08:24 +02:00
2013-12-23 17:11:36 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-10-09 20:08:24 +02:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-03-16 02:11:42 +01:00
2013-10-09 20:08:24 +02:00