maybee |
March 5, 2014 09:20 |
Error: problem with wordlist
hi,
I have about the following code:
Code:
wordList MyList //works fine
(
properties.lookup("MyListe")
);
.
.
.
wordlist Names (fluid.phases().toc()); //does not work - error
//fluid.phases() returns a PtrDictionary<phaseModel> and toc() a wordlist
Unfortunately I get an error for the second wordlist shown above:
Quote:
Values.H: In function ‘int main(int, char**)’:
Values.H:110:1: error: ‘wordlist’ was not declared in this scope
Values.H:110:10: error: expected ‘;’ before ‘Names’
Values.H:111:18: error: ‘Names’ was not declared in this scope
|
What am I doing wrong here? :)
|