generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: C# enums

Previous Thread :: Next Thread 
62GB is not online. 62GB
Joined: 03 Oct 2011
Total Posts: 4157
05 Feb 2016 07:57 PM
This is in a static thingy that I don't understand. Syntax errors are coming up.


enum NumberSheet{
int n = 4;
}

How to put numbers in an enum?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
05 Feb 2016 08:05 PM
you don't, that's not the point of enums.
You probably want a struct if you want what I think you want.
Report Abuse
SpecialVirusTasker is not online. SpecialVirusTasker
Joined: 04 Oct 2014
Total Posts: 72
05 Feb 2016 08:07 PM
You don't need to identify numbers in enums. You just need to write:

enum NumberSheet {
n = 4;
}
Report Abuse
DrHaximus is not online. DrHaximus
Joined: 22 Nov 2011
Total Posts: 8410
05 Feb 2016 08:07 PM
public enum NumberSheet {
A = 0,
B = 1
}

c'mon OP, look at google.
Report Abuse
Threatboy101 is not online. Threatboy101
Joined: 27 Oct 2012
Total Posts: 874
05 Feb 2016 08:09 PM
@62 I thought I told you to progress through the vids slowly.
Report Abuse
62GB is not online. 62GB
Joined: 03 Oct 2011
Total Posts: 4157
05 Feb 2016 09:24 PM
Thanks guys. Threat, talk to me via chat. I watched video by video. I didn't skip anything.
Report Abuse
Threatboy101 is not online. Threatboy101
Joined: 27 Oct 2012
Total Posts: 874
06 Feb 2016 11:26 AM
@62 what vid is that then... talk to me via Google hangouts.
Report Abuse
62GB is not online. 62GB
Joined: 03 Oct 2011
Total Posts: 4157
06 Feb 2016 11:28 AM
I told you I watched Lecture 10. You told me to tell you that in chat. In Lecture 10 he talked about constants.

const int t = 4;


And also enums. Which I needed to clear up on.
Report Abuse
Threatboy101 is not online. Threatboy101
Joined: 27 Oct 2012
Total Posts: 874
06 Feb 2016 11:32 AM
Oh ok I am on iPad so I cannot access Roblox chat some weird glitch but you can talk to me via Google hangouts my use is fun Tertain much easier this way.
Report Abuse
62GB is not online. 62GB
Joined: 03 Oct 2011
Total Posts: 4157
06 Feb 2016 11:32 AM
Alright.
Report Abuse
Threatboy101 is not online. Threatboy101
Joined: 27 Oct 2012
Total Posts: 874
06 Feb 2016 12:56 PM
@62 send me a request.
Report Abuse
62GB is not online. 62GB
Joined: 03 Oct 2011
Total Posts: 4157
06 Feb 2016 01:13 PM
when i saw that i immediately thought you meant a FR xD

oops
Report Abuse
Threatboy101 is not online. Threatboy101
Joined: 27 Oct 2012
Total Posts: 874
06 Feb 2016 01:30 PM
Oh lol.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image