Book a Demo

Author Topic: Adding Parameter Types  (Read 3218 times)

nimrod

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Adding Parameter Types
« on: November 24, 2006, 10:21:43 am »
Hello , First day using EA and am having trouble finding information in help file regarding adding parameter types.

I have a class called "MsgProducer" , now I'm attempted to add  "Operations" to the class.  To these "operations" I'm wanted to add "Parameters". When I try to specify I parameter I'm finding the available "Types" are very limited , i.e. boolean , Init ... etc.

How do I extend the list of available "Types" in the parameter  Type drop down list , i.e. want to include Memptr , decimal ... etc.

Thx for any and all help ! :)

nimrod

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Adding Parameter Types
« Reply #1 on: November 24, 2006, 11:31:14 am »
Hello Ladies and Gents...  :)
..... I got it figured out  ;D

PROBLEM : By default AE  does not provide the ability to select  Progress Data Types when Adding Parameters to Class Operations.

SOLUTION: ..... Read following instructions.

STEP ONE (Define the Progress Code Datatype )
1.1 : Select "Settings" on EA toolbar
1.2 : Select "Code Datatypes..." on the Settings drop down menu
1.3 : You are now in the window titled "Programming Language Datatypes"
1.4 : Click the "Add Product" button and add the Product name "Progress"
1.5  In the "DataType" fill-in widget type the data types i.e. memptr etc ... see list below.
1.6 Save each DataTye to create list

STEP TWO ( Assign Language  to Class)
2.1 :  Right click on Class
2.2 :  Left click on "Properties..." in the class's drop down menu
2.3 : Choose "Progress" in the "Language" drop-down box.
( note if not in list then you need to review the above instructions in "Step One" 1.1-1.6 .