5 # Testing attribute: TDataStd_RealArray
7 # Testing command: SetRealArray
8 # Testing command: GetRealArray
14 # Add an attribute to a data framework
21 SetRealArray D ${aLabel} ${isDelta} ${aFrom1} ${aTo1} ${aSetAttr11} ${aSetAttr12}
23 # Close/Open the transaction
26 # Forget the attribute
29 # Close/Open the transaction
37 # Get a value of the attribute
39 set aMessage1 "Add TDataStd_RealArray attribute: Error"
40 set aGetAttr1 [GetRealArray D ${aLabel}]
41 set aLen1 [llength ${aGetAttr1}]
42 if { ${aLen1} != [expr ${aTo1} - ${aFrom1} + 1] } {
48 set aGetAttr21 [lindex ${aGetAttr1} 0]
49 if { ${aSetAttr11} != ${aGetAttr21} } {
51 puts "aGetAttr21=${aGetAttr21}"
55 set aGetAttr22 [lindex ${aGetAttr1} 1]
56 if { ${aSetAttr12} != ${aGetAttr22} } {
58 puts "aGetAttr22=${aGetAttr22}"
63 if { ${IsGood} == 0} {
64 puts "Add TDataStd_RealArray attribute: Error"
66 puts "Add TDataStd_RealArray attribute: OK"