haorenhui
2023-10-30 6d6cc10d9e8e242661da7fd655dec155a09d676c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Quintiq file version 2.0
#parent: #root
Method Add (LibOpt_ScopeElement element, LibOpt_Group group) as Boolean
{
  Description:
  [*
    Add the `LibOpt_ScopeElement` to the `LibOpt_Scope` and associate the given `LibOpt_Group` to it.
    
    If a scope element was already in scope, it is not added another time.
    The associated group will change if the group argument is different from the element's current group.
    The comment will be unset, even if the group stays the same.
    
    The boolean returned signals whether the scope element was added or not. If the scope element was already in scope, the method returns `false`, even if the comment or the `LibOpt_Group` changes.
  *]
  TextBody: "return this.Add( element, group, '' );"
}