copyRangeTo
. O% p- P% G; ?Usage: <path>.copyRangeTo(<listrange>,<object>,<integer1>,<integer2>); ' c g) K1 q( o/ }+ W) ?: c2 _
# q* [8 @7 y3 w% u; [. D! B
The method copyRangeTo copies the designated range of the source table designated by <path> into the target table. 7 o g8 [4 K. @" n, Q
- M0 `1 Y! c @* C& ? H/ [/ Y- w! @0 i/ |
The argument listrange designates the range to be copied.- D8 A4 f2 Z1 o6 a7 o: ~
# ^' E+ j2 p8 d: Z# t) H
The argument of data type object designates the target table.
3 C# q9 S8 _% w+ `5 d7 n N1 v5 j# n+ O3 K* _
The argument integer1 designates the column in the target table, where Plant Simulation inserts the copied range. 5 v$ p$ Q" K; Y. \1 {% O: j. n1 u
O: C/ A9 w2 @3 K0 nThe argument integer2 designates the row in the target table, where Plant Simulation inserts the copied range. 9 b6 S7 O( O2 L6 ]6 o
Example: tableA.copyRangeTo({2,2}..{*,*}, tableB, 1,1); |