copyRangeTo
; w3 P$ M- U* h3 l, ZUsage: <path>.copyRangeTo(<listrange>,<object>,<integer1>,<integer2>); ! \ M5 [; }8 T
J' C- r# t3 QThe method copyRangeTo copies the designated range of the source table designated by <path> into the target table.
( h6 m# ?$ \3 G- J
5 G6 _' N1 d# x5 q0 x# x4 E$ y- T9 @
0 e7 w S6 D. F, F PThe argument listrange designates the range to be copied.
& M0 V2 w6 M- o" `9 F0 a6 @/ }8 Q1 o' \4 i# U/ f4 \: {
The argument of data type object designates the target table.
1 D S% |3 U. {$ J9 o- M$ Y
! J6 K9 s2 h0 K: e" R! x) |The argument integer1 designates the column in the target table, where Plant Simulation inserts the copied range.
& J1 ?* i2 P# z
. U5 F4 h8 p7 A, p5 ?" kThe argument integer2 designates the row in the target table, where Plant Simulation inserts the copied range. 3 W" Y( o$ _# p0 N; a" q
Example: tableA.copyRangeTo({2,2}..{*,*}, tableB, 1,1); |