diff options
author | florian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2007-07-21 18:49:10 +0000 |
---|---|---|
committer | florian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2007-07-21 18:49:10 +0000 |
commit | 4914b9488d75bb5057f27584d03ad8ed26656641 (patch) | |
tree | 1cdae842de2ac75053acd4d199c34a9ed6da5162 /rtl/inc/varianth.inc | |
parent | 366a046f6fba0b00c16ad36487ecc6d39d53b3d4 (diff) | |
download | fpc-4914b9488d75bb5057f27584d03ad8ed26656641.tar.gz |
+ VarArrayPut and VarArrayGet from Igor, resolves #9161
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@8117 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'rtl/inc/varianth.inc')
-rw-r--r-- | rtl/inc/varianth.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rtl/inc/varianth.inc b/rtl/inc/varianth.inc index 54b5c0ed99..ecd5cc8260 100644 --- a/rtl/inc/varianth.inc +++ b/rtl/inc/varianth.inc @@ -341,6 +341,8 @@ operator <=(const op1,op2 : variant) dest : boolean;{$ifdef SYSTEMINLINE}inline; { variant helpers } procedure VarArrayRedim(var A: Variant; HighBound: SizeInt); +procedure VarArrayPut(var A: Variant; const Value: Variant; const Indices: array of SizeInt); +function VarArrayGet(const A: Variant; const Indices: array of SizeInt): Variant; procedure VarCast(var dest : variant;const source : variant;vartype : longint); {********************************************************************** |