D
dllhell
hi all,
I have a problem with creating proc with a enum as a param.
I wish to pass an enumeration in proc in which one I intend to do some
operations with enumeration, but I don't know which one enumeration I'll
pass.
so... I have tried with:
string[] SomeResult (enum** _enum) { }
and I get 4 errors:
Type expected
Class, struct, or interface method must have a return type
Type or namespace definition, or end-of-file expected
How to write proc enum parameter?
Sorry for my English and thanks in advance.
__________________________
**code snippet
I have a problem with creating proc with a enum as a param.
I wish to pass an enumeration in proc in which one I intend to do some
operations with enumeration, but I don't know which one enumeration I'll
pass.
so... I have tried with:
string[] SomeResult (enum** _enum) { }
and I get 4 errors:
Type expected
Class, struct, or interface method must have a return type
Type or namespace definition, or end-of-file expected
How to write proc enum parameter?
Sorry for my English and thanks in advance.
__________________________
**code snippet