Project

General

Profile

Bug #9801

conversion of com property with subscript

Added by Constantin Asofiei over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:

History

#1 Updated by Constantin Asofiei over 1 year ago

This was encountered for the #9457 work, the task is created to document this problem; is not expected to be fixed as part of #9457.

The conversion of properties with a subscript is not OK in FWD:

DEFINE VARIABLE comvar1    AS COM-HANDLE NO-UNDO.
comvar1:prop1[1]:prop4 = 18.
comvar1:prop2[2] = 17.
message comvar1:prop3[3].

comvar1:m1(1):prop5 = 18.
message comvar1:m2(3).

converts as:
         comvar1.chain("prop1"1).setProperty("prop4", new integer(18));
         comvar1.setIndexedProperty("prop2"2, new integer(17));
         message(comvar1.getProperty("prop3"3));
         comvar1.chainCall("m1", ComParameter.input(1)).setProperty("prop5", new integer(18));
         message(comvar1.call("m2", ComParameter.input(3)));         

Also available in: Atom PDF