Przemyslaw Czerpak
bb86055fe6
2010-03-01 00:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpcode.h
* harbour/include/hbxvm.h
* harbour/src/compiler/hbfix.c
* harbour/src/compiler/hbpcode.c
* harbour/src/compiler/hbdead.c
* harbour/src/compiler/genc.c
* harbour/src/compiler/hbopt.c
* harbour/src/compiler/gencc.c
* harbour/src/compiler/hblbl.c
* harbour/src/compiler/hbstripl.c
* harbour/src/vm/hvm.c
+ added new PCODE HB_P_PUSHAPARAMS and -gc3 function with corresponding
action hb_xvmPushAParams
* harbour/include/hbexprb.c
* harbour/src/common/expropt1.c
* harbour/src/vm/hvm.c
+ added support for special PRG function:
HB_ARRAYTOPARAMS( <aValue> ) -> <aValue>[ 1 ] [, <aValue>[ N ] ]
It can be used in the same context as multivalue macros
or ... operator and converts array to list of parameters, i.e.:
proc main
local aValue, aIndexes
aValue := { 1, { 2, 3, "abcde" } }
aIndexes := { 2, 3 }
? "array:", hb_valToExp( aValue )
? "indexes:", hb_arrayToParams( aIndexes )
? "array[", hb_arrayToParams( aIndexes ), "] =>", ;
aValue[ hb_arrayToParams( aIndexes ) ]
aValue[ hb_arrayToParams( aIndexes ) ] += ":add"
? "array:", hb_valToExp( aValue )
aValue := { "test", aValue }
aIndexes := { 2, hb_arrayToParams( aIndexes ) }
? "array:", hb_valToExp( aValue )
? "indexes:", hb_arrayToParams( aIndexes )
? "array[", hb_arrayToParams( aIndexes ), "] =>", ;
aValue[ hb_arrayToParams( aIndexes ) ]
return
2010-02-28 23:52:05 +00:00
..
2009-05-06 11:06:11 +00:00
2010-02-20 03:51:10 +00:00
2010-02-23 08:46:31 +00:00
2009-02-11 18:48:38 +00:00
2009-10-07 09:35:33 +00:00
2010-01-18 10:21:26 +00:00
2009-06-03 10:26:40 +00:00
2009-07-09 21:22:22 +00:00
2009-06-03 10:26:40 +00:00
2008-11-03 08:56:31 +00:00
2009-07-02 17:02:40 +00:00
2009-06-03 10:26:40 +00:00
2009-06-03 10:26:40 +00:00
2009-08-17 15:31:07 +00:00
2010-02-17 02:09:17 +00:00
2010-02-09 01:13:25 +00:00
2010-02-08 21:52:47 +00:00
2010-02-08 21:52:47 +00:00
2010-02-08 21:52:47 +00:00
2010-02-08 21:52:47 +00:00
2010-02-24 13:34:10 +00:00
2010-02-09 01:13:25 +00:00
2010-01-14 17:59:30 +00:00
2010-02-08 21:52:47 +00:00
2010-01-14 17:59:30 +00:00
2009-02-04 22:24:35 +00:00
2009-12-10 20:49:23 +00:00
2010-02-07 12:17:40 +00:00
2009-12-09 14:33:48 +00:00
2010-02-07 15:37:24 +00:00
2010-01-15 18:25:14 +00:00
2010-02-27 19:20:56 +00:00
2010-02-27 19:20:56 +00:00
2010-02-07 15:37:24 +00:00
2010-02-08 01:18:46 +00:00
2010-02-08 13:52:23 +00:00
2010-02-27 11:29:31 +00:00
2010-02-17 17:07:20 +00:00
2009-03-21 15:04:43 +00:00
2010-02-27 19:20:56 +00:00
2010-02-28 23:52:05 +00:00
2010-02-08 21:52:47 +00:00
2010-01-02 12:43:41 +00:00
2010-02-25 10:11:07 +00:00
2009-12-31 11:44:26 +00:00
2010-01-15 11:06:44 +00:00
2009-02-10 00:47:50 +00:00
2010-02-08 23:17:09 +00:00
2010-02-25 15:04:29 +00:00
2009-12-09 14:33:48 +00:00
2010-02-08 21:52:47 +00:00
2009-06-19 18:51:26 +00:00
2009-12-09 14:33:48 +00:00
2010-02-08 21:52:47 +00:00
2009-06-03 10:26:40 +00:00
2008-12-29 18:17:45 +00:00
2010-02-27 19:20:56 +00:00
2009-12-26 13:13:02 +00:00
2010-01-14 17:59:30 +00:00
2009-06-03 10:26:40 +00:00
2009-12-09 19:41:10 +00:00
2009-06-03 10:26:40 +00:00
2010-02-28 23:52:05 +00:00
2010-02-25 12:34:40 +00:00
2010-02-08 22:19:16 +00:00
2010-02-08 21:52:47 +00:00
2010-02-08 21:52:47 +00:00
2010-02-08 21:52:47 +00:00
2010-02-08 21:52:47 +00:00
2010-02-08 21:52:47 +00:00
2010-02-08 21:52:47 +00:00
2010-02-08 21:52:47 +00:00
2010-01-14 17:59:30 +00:00
2010-02-23 08:46:31 +00:00
2010-02-24 15:11:45 +00:00
2010-02-20 17:07:00 +00:00
2010-02-20 17:07:00 +00:00
2010-02-08 21:52:47 +00:00
2009-02-13 15:12:42 +00:00
2010-02-08 18:54:32 +00:00
2009-07-03 06:29:26 +00:00
2010-02-22 13:45:07 +00:00
2009-12-20 21:12:54 +00:00
2010-02-03 02:45:32 +00:00
2010-02-10 11:34:42 +00:00
2009-06-03 10:26:40 +00:00
2009-09-15 14:53:23 +00:00
2009-08-23 15:06:11 +00:00
2010-01-22 12:27:04 +00:00
2010-02-15 09:05:58 +00:00
2010-02-08 21:52:47 +00:00
2010-02-23 19:53:31 +00:00
2010-01-19 08:42:19 +00:00
2010-02-09 01:13:25 +00:00
2010-02-28 23:52:05 +00:00
2010-01-06 06:27:38 +00:00
2010-02-07 15:37:24 +00:00
2009-02-18 15:08:54 +00:00
2009-06-03 10:26:40 +00:00
2010-02-23 08:28:35 +00:00
2010-02-20 04:13:01 +00:00
2010-02-09 01:13:25 +00:00
2009-12-06 19:01:01 +00:00
2009-10-07 09:35:33 +00:00
2009-06-03 10:26:40 +00:00