copyRangeTo # c/ O# |$ E6 k$ T `2 @
Usage: <path>.copyRangeTo(<listrange>,<object>,<integer1>,<integer2>); ' M+ t. A& d0 S4 r$ X* V& B% m7 ]
. k6 H+ L& p( n7 l1 {- O9 t$ YThe method copyRangeTo copies the designated range of the source table designated by <path> into the target table. ; L! I$ w G' {. G. T
U' q" U& f# q: V& u2 i. D' k5 V& p( [/ k/ v1 N) N; J
The argument listrange designates the range to be copied.
+ d: s' x9 T1 V- x. [/ {4 D9 \! ?. j+ L& J8 i& f! V3 j6 D+ M
The argument of data type object designates the target table.$ p& [7 w, t6 B* }+ e& t5 d
7 A$ Y L/ i; mThe argument integer1 designates the column in the target table, where Plant Simulation inserts the copied range.
& _. ~& A: S# y% I" w) k0 d) o
8 a3 C. e7 X6 J! \$ EThe argument integer2 designates the row in the target table, where Plant Simulation inserts the copied range. 2 c; ]" \& A8 [ e
Example: tableA.copyRangeTo({2,2}..{*,*}, tableB, 1,1); |