copyRangeTo ; Z9 C% c& x' [7 t4 G5 Q% K3 Z
Usage: <path>.copyRangeTo(<listrange>,<object>,<integer1>,<integer2>);
9 C' w9 O: I$ w3 Y) O2 X9 m5 g8 n" e5 D' P1 s* a6 S
The method copyRangeTo copies the designated range of the source table designated by <path> into the target table.
1 W7 Q) x' O# |' [& w6 E# }7 a( Q. z* [ Q2 ?, N8 f
: g& p5 q3 h! W ^+ r& |6 F
The argument listrange designates the range to be copied., q; Z7 ~% ]) i/ N$ W& }: P- }0 D; r
2 p4 I( q8 U/ E7 H4 iThe argument of data type object designates the target table., k4 B) D9 k1 j8 V3 ^
- P8 U" U3 Q5 x" T& h% r* r0 ]The argument integer1 designates the column in the target table, where Plant Simulation inserts the copied range.
- I1 Q7 z) ]" j3 ~. ?
' z0 G8 \( z" E" mThe argument integer2 designates the row in the target table, where Plant Simulation inserts the copied range. , z- s9 L2 c1 }+ y7 u
Example: tableA.copyRangeTo({2,2}..{*,*}, tableB, 1,1); |