Click here to Skip to main content
15,884,388 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionEnum value calculation using chars [modified] Pin
DaveyM6918-Jul-09 0:51
professionalDaveyM6918-Jul-09 0:51 
AnswerRe: Enum value calculation using chars Pin
Luc Pattyn18-Jul-09 1:18
sitebuilderLuc Pattyn18-Jul-09 1:18 
GeneralRe: Enum value calculation using chars Pin
DaveyM6918-Jul-09 1:34
professionalDaveyM6918-Jul-09 1:34 
GeneralRe: Enum value calculation using chars Pin
Luc Pattyn18-Jul-09 1:42
sitebuilderLuc Pattyn18-Jul-09 1:42 
GeneralRe: Enum value calculation using chars Pin
DaveyM6918-Jul-09 1:56
professionalDaveyM6918-Jul-09 1:56 
GeneralRe: Enum value calculation using chars Pin
Luc Pattyn18-Jul-09 2:12
sitebuilderLuc Pattyn18-Jul-09 2:12 
GeneralRe: Enum value calculation using chars Pin
DaveyM6918-Jul-09 2:26
professionalDaveyM6918-Jul-09 2:26 
GeneralRe: Enum value calculation using chars Pin
Luc Pattyn18-Jul-09 2:53
sitebuilderLuc Pattyn18-Jul-09 2:53 
DaveyM69 wrote:
Well enums are evaluated at compile time, so the VB compiler must or it wouldn't compile!


Maybe, maybe not. I am not sure. I do know they have to be constant expressions, however that might still defer evaluation till run-time. As an enum value, that would still be fine, since it needs to be done only once.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

GeneralRe: Enum value calculation using chars Pin
riced18-Jul-09 4:30
riced18-Jul-09 4:30 
QuestionPractice Pin
Noobie One18-Jul-09 0:07
Noobie One18-Jul-09 0:07 
AnswerRe: Practice Pin
riced18-Jul-09 0:22
riced18-Jul-09 0:22 
AnswerRe: Practice Pin
Luc Pattyn18-Jul-09 0:43
sitebuilderLuc Pattyn18-Jul-09 0:43 
AnswerRe: Practice Pin
Kevin McFarlane18-Jul-09 3:50
Kevin McFarlane18-Jul-09 3:50 
AnswerRe: Practice Pin
Noobie One18-Jul-09 8:56
Noobie One18-Jul-09 8:56 
GeneralRe: Practice Pin
Luc Pattyn18-Jul-09 9:12
sitebuilderLuc Pattyn18-Jul-09 9:12 
GeneralRe: Practice Pin
Johan Hakkesteegt19-Jul-09 21:52
Johan Hakkesteegt19-Jul-09 21:52 
QuestionNested Gridview Pin
Mariam_siahpar17-Jul-09 20:02
Mariam_siahpar17-Jul-09 20:02 
Questionenable/disable network adapter Pin
ivo7517-Jul-09 7:50
ivo7517-Jul-09 7:50 
AnswerRe: enable/disable network adapter Pin
Rozis17-Jul-09 12:09
Rozis17-Jul-09 12:09 
AnswerRe: enable/disable network adapter Pin
Tom Deketelaere17-Jul-09 12:09
professionalTom Deketelaere17-Jul-09 12:09 
GeneralRe: enable/disable network adapter Pin
ivo7517-Jul-09 23:56
ivo7517-Jul-09 23:56 
QuestionNeed Conversion help Pin
User 584223717-Jul-09 5:59
User 584223717-Jul-09 5:59 
AnswerRe: Need Conversion help Pin
Christian Graus17-Jul-09 9:25
protectorChristian Graus17-Jul-09 9:25 
AnswerRe: Need Conversion help Pin
dan!sh 17-Jul-09 11:45
professional dan!sh 17-Jul-09 11:45 
AnswerRe: Need Conversion help Pin
Tom Deketelaere17-Jul-09 12:07
professionalTom Deketelaere17-Jul-09 12:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.