ADT.Set AAS = ADT.Set(({ "John", "Serena", "Bob", "Mary", "Serena", "Bob" })); ADT.Set BAS = ADT.Set(({ "Jim", "Mary", "John", "Jim", "Bob", "Mary" }));
AAS^BAS;
Operator not in object. Unknown program: `^(ADT.Set({ /* 4 elements */ "Bob", "Serena", "John", "Mary" }),ADT.Set({ /* 4 elements */ "Bob", "John", "Mary", "Jim" })) HilfeInput:1: HilfeInput()->___HilfeWrapper()
the error below only appears in hilfe:
AAS&BAS;
Compiler Error: 1: Undefined identifier AAS. Compiler Error: 1: Undefined identifier BAS. Compiler Error: 1: Too few arguments to `& (got 0). Compiler Error: 1: Expected: array | mapping | multiset | object | program | string | type(mixed) | int | mixed. Compiler Error: 1: Function type: Compiler Error: 1: Got : scope(0,function((0=mixed) : 0) | function((0=program | type(mixed)) : 0) | function((0=string) : 0) | function((0=multiset) : 0) | function((0=mapping) : 0) | function((0=array) : 0) | function((0=int) : 0) | function(mixed, object, mixed ... : mixed) | function(object, mixed, mixed ... : mixed) | !function(!mapping ... : mixed) & function(array | multiset | (4=mapping) ... : 4) | !function(!(program | type(mixed)) ... : mixed) & function((1=program | type(mixed)), (2=program | type(mixed)) ... : 1 | 2) | !function(!string ... : mixed) & function((1=string), (2=string) ... : 1 | 2) | !function(!multiset ... : mixed) & function((1=multiset), (2=multiset) ... : 1 | 2) | !function(!mapping ... : mixed) & function((1=mapping), (2=mapping) ... : 1 | 2) | !function(!array ... : mixed) & function((1=array), (2=array) ... : 1 | 2) | !function(!int ... : mixed) & function((1=int), (2=int) ... : 1 | 2)).
greetings, martin.