copyRangeTo / t7 Z/ @9 g5 P3 \! e: G( Y
Usage: <path>.copyRangeTo(<listrange>,<object>,<integer1>,<integer2>);
( I6 b1 p) k5 W3 {" [' i" }2 A3 l0 _9 m/ D# T* b
The method copyRangeTo copies the designated range of the source table designated by <path> into the target table.
. y" e9 G" \' G0 F( q$ `/ u& u& Y: {" m* e. X8 ~. g2 M* ~% W
0 L: t$ b/ V, B r4 H) o
The argument listrange designates the range to be copied.8 M6 f3 V3 f) D' j6 P$ g% K8 G
3 \- E' Q3 |2 \7 g1 x- Z9 JThe argument of data type object designates the target table.1 M) J9 t8 Z; ?/ H
; t. i9 E9 c6 ?# c+ CThe argument integer1 designates the column in the target table, where Plant Simulation inserts the copied range. 1 y: b5 V' N$ j' V) C: s
' W6 [2 I/ ~0 n/ C- }2 T9 H3 p
The argument integer2 designates the row in the target table, where Plant Simulation inserts the copied range. % a# J" o* n4 O2 H; B
Example: tableA.copyRangeTo({2,2}..{*,*}, tableB, 1,1); |