|
|
|
Forum MVP
      
Group: Forum Members
Last Login: 5/14/2012 4:43:58 PM
Posts: 728,
Visits: 2,932
|
|
The List.AddAttribute method is still missing from the online E-Basic help (it was also missing from the 1.x help; then again, I notice that the 2.0 and 1.2 E-Basic.hlp files both have the same mod date of 10/23/2002, so apparently the 2.0 help has not been updated at all ). I only discovered it by setting the list load method to "script" and then looking at the generated script. This was important since I needed to use this in a recent experiment that required that I construct a list entirely from E-Basic script.
Just thought you would want to know so that you can fix this in a future release.
-- David McFarlane
Michigan State University
|
|
|
|
|
Forum MVP
      
Group: Forum Members
Last Login: 5/14/2012 4:43:58 PM
Posts: 728,
Visits: 2,932
|
|
Oops, I just saw that I typed "List.AddAttribute", the correct method reference is "List.AddAttrib". Sorry.
-- David McFarlane
|
|
|
|
|
Forum MVP
      
Group: Forum Members
Last Login: 5/14/2012 4:43:58 PM
Posts: 728,
Visits: 2,932
|
|
Filling in more of the missing documentation for List.AddAttrrib:
Syntax seems to go much like the List.SetAttribLogFlag method, thus,
List.AddAttrib strAttribName [, bLogFlag]
where
- the 1st parameter, strAttribName, is a required String parameter that specifies the name of the attribute to add,
- the 2nd parameter, bLogFlag, is an optional Boolean value that determines whether the attribute will be logged (True) or not (False) (default is True).
But as usual, don't take my word for this. Using E-Studio, make any List object, add a few attributes, disable logging for one of the attributes, and then look at the generated script.
-- David McFarlane, Professional Faultfinder
"For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." (Richard Feynman, Nobel prize-winning physicist)
|
|
|
|