copyRangeTo 1 W. L' D9 M& f; s: D' [
Usage: <path>.copyRangeTo(<listrange>,<object>,<integer1>,<integer2>); * K4 P" H0 F6 d" k o8 R" `
% q, n2 e2 i7 _; T4 Y: m% C
The method copyRangeTo copies the designated range of the source table designated by <path> into the target table.
! T c2 d- ^' o% X& j
2 n1 s' w* P3 @* x- J; p
& E5 V' p; T# C; t3 L+ LThe argument listrange designates the range to be copied.. M2 {1 k# E: w1 G4 [7 }# g; G
% l2 D( P$ W2 t) q8 W# J- v( ^The argument of data type object designates the target table.
; I/ ]5 {2 C/ D/ g; A+ o
, [$ O5 h. C" }! z/ G8 u9 y* nThe argument integer1 designates the column in the target table, where Plant Simulation inserts the copied range. ; W- H: W- S' ~) _: p+ T$ n. h- V& [$ h
; k/ D* ?8 `. A$ _# dThe argument integer2 designates the row in the target table, where Plant Simulation inserts the copied range. : Y8 C. ? Z- o: i" @ u$ p
Example: tableA.copyRangeTo({2,2}..{*,*}, tableB, 1,1); |