This article applies to:
E-Prime 3.0
E-Prime 2.0
This item was introduced in E-Prime 2.0 (2.0.1.14).
Detail
E-Prime generates a table of constants to represent user-defined attributes from the List objects in an experiment. These added constants help to reduce the "Script Too Large" error. The following is an example that shows the constants in a List. In the example, ABC, DEF, GHI, and JKL are Attributes added to the List.
' Generates the following table upon the first instance of a List object:
' List Attribute Constants
Const attrib_Weight = "Weight"
Const attrib_Nested = "Nested"
Const attrib_Procedure = "Procedure"
Const attrib_ABC = "ABC"
Const attrib_DEF = "DEF"
Const attrib_GHI = "GHI"
Const attrib_JKL = "JKL"
' Then proceeds to plug the attrib constant in where code generation prompts for it:
TextDisplay1.Text = c.GetAttrib(attrib_ABC)
Comments
0 comments
Please sign in to leave a comment.