List.AddAttribute method
 
PST User Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



List.AddAttribute method Expand / Collapse
Author
Message
Posted 2/11/2008 1:28:41 PM
Forum MVP

Forum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum 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
Post #1241
Posted 2/11/2008 3:38:19 PM
Forum MVP

Forum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum 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
Post #1243
Posted 11/9/2009 9:38:08 AM
Forum MVP

Forum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum 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)
Post #3742
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -5:00, Time now is 2:58am

Powered By InstantForum.NET v4.1.4 © 2012
Execution: 0.156. 10 queries. Compression Disabled.
 
Privacy | Terms of Use | Terms and Conditions | Legal Trademarks | Authorized Use | Quality Policy
Copyright 2012 Psychology Software Tools, Inc. All Rights Reserved
Email: Info@pstnet.com | Telephone: 412.449.0078 | Fax: 412.449.0079