Progress
ADM 2 Guide


Reviewing Conversion Results

This section describes the specific changes that occur when converting Version 8 SmartObjects to Version 9 SmartObjects. The changes that it describes include Version 8 to Version 9 SmartObject conversions, specific ADM file-conversion changes, and additional conversion changes.

Table B–5 lists the Version 8 to Version 9 SmartObject file conversions that the Conversion Utility attempts to perform.

Table B–5: Version 8 to Version 9 SmartObject Conversions 
Version 8 SmartObject
Corresponding Version 9 SmartObject
Version 8 SmartWindow
Version 9 SmartWindow
Version 8 SmartDialog
Version 9 SmartDialog
Version 8 SmartFrame
Version 9 SmartFrame
Version 8 SmartBrowser
Version 9 SmartDataBrowser
Version 8 SmartQuery
Version 9 SmartDataObject
Version 8 SmartViewer
Version 9 SmartDataViewer

Table B–6 identifies specific Version 8 to Version 9 file conversion changes.

Table B–6: Specific File Conversion Changes 
For this element...
All...
Are...
RUN DISPATCH
RUN dispatch [ IN hdl ] 
  ( [ INPUT ] ’proc’ ). 
Converted to:
RUN proc [ IN hdl ]
Or, if it is a local copy of itself:
RUN SUPER
RUN NOTIFY
RUN notify [ IN hdl ] 
  ( [ INPUT ]proc’ ). 
Converted to:
PUBLISH ’proc
[ FROM hdl ]
GET–ATTRIBUTE
RUN get-attribute 
  [ IN hdl ] 
  ( [ INPUT ] ) 
attr’). 
var=RETURN-VALUE. 
Converted to:
var=[hdl:]getpropname ( ).
SET–ATTRIBUTE–LIST
RUN set-attribute-list 
  ( [ INPUT ] 
attr1=val1, 
   attr2=val2, ... ’ ). 
Replaced by:
{setpropname1 val1}
{setpropname2 val2}

NOTES: A variable that contains a list is not converted. You must write your own get and set property functions for any customized attributes.

Some common Version 8 ADM attribute names are automatically converted to the corresponding Version 9 ADM property names (for example, Current–Page to Current Page), based on entries in the file protools/v89names.dat. You can extend this list as described in the "Customizing the Conversion Utility" section.

This list identifies operations that the Conversion Utility performs for all converted files:


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095