|
-
Apr 9th, 2002, 01:27 PM
#1
Thread Starter
Hyperactive Member
HEX in c#...
Maybe I'm just an idiot, but I had trouble finding this. I hope this saves people some time...
to specify hex in c#:
long MyHexVariable = 0x40;
-scott
he he he
-
Apr 9th, 2002, 01:50 PM
#2
took me a while too..i kept trying &H4..:P too used to VB.
-
Apr 9th, 2002, 09:17 PM
#3
-
Apr 9th, 2002, 09:20 PM
#4
Hyperactive Member
to specify in octal
you would prefix a "0"
for example
int x = 023;
-
Apr 9th, 2002, 10:51 PM
#5
Thread Starter
Hyperactive Member
I guess I never needed hex before in C/C++!?
Oh well, got it now...
-scott
he he he
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|