copyRangeTo
o+ a2 i! n' FUsage: <path>.copyRangeTo(<listrange>,<object>,<integer1>,<integer2>);
5 w% u/ {' p# n: t6 }- X A: B& S5 Z! J
The method copyRangeTo copies the designated range of the source table designated by <path> into the target table.
! I( A% b) U; d/ m: W, H& `' W+ V0 O1 Y' H4 T! {
; O- a% t8 t6 n9 H2 R# w! }% W# e, D
The argument listrange designates the range to be copied.# T! f! A3 e' q6 m# l8 P
9 o V2 h* E7 z- J" ?7 r# j
The argument of data type object designates the target table.& m$ r: U$ X& V- z: ~2 _; |
+ s! E9 h& u/ [- u# q, f. GThe argument integer1 designates the column in the target table, where Plant Simulation inserts the copied range.
3 v4 H' t9 a; {- L5 d/ \/ ~, {5 ^: t4 p2 \) T. { c
The argument integer2 designates the row in the target table, where Plant Simulation inserts the copied range. 3 `4 S/ d: V6 q9 f/ M8 _5 L3 [
Example: tableA.copyRangeTo({2,2}..{*,*}, tableB, 1,1); |