![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#21 |
|
Expert Programmer
|
lol? i created the file IN the project... not outside of the project?
__________________
"When in Rome, Do as the Romans Do" "Beauty is in the eye of the BEER holder" "Save your breath your going to need it for your blow up doll later" SearchLores.org |
|
|
|
|
|
#22 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
As long as you are using DIRC; or are working on a class within the DIRC namespace, you should be able to use the enum by its name. Otherwise, DIRC.sockMessage.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270 |
|
|
|
|
|
#23 |
|
Expert Programmer
|
awww thats ghetto...
__________________
"When in Rome, Do as the Romans Do" "Beauty is in the eye of the BEER holder" "Save your breath your going to need it for your blow up doll later" SearchLores.org |
|
|
|
|
|
#24 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
To the contrary, it's how the entire namespace system was designed and is used.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270 |
|
|
|
|
|
#25 |
|
Expert Programmer
|
so...
[PHP] public int testFunc() { try { // blah blah blah return sockMessage.SOCK_CONNECT_SUCCESS; } catch(Exception) { return sockMessage.SOCK_CONNECT_FAILED; } } [/PHP] sockMessage being the name of the enum perfectly legal?
__________________
"When in Rome, Do as the Romans Do" "Beauty is in the eye of the BEER holder" "Save your breath your going to need it for your blow up doll later" SearchLores.org |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|