Announcement

Collapse
No announcement yet.

PB equiv. of 'enum'

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Peter Lameijn
    replied
    Code:
    Fred.OtherStuff = 0
    Fred.Morestuff  = 1
    Fred.SomeStuff  = 2
    ------------------
    Regards,
    Peter

    Leave a comment:


  • Michael Mattias
    replied
    Generally an 'enum' is just a list of constants.

    You'll probably get a working answer faster by looking at how the enum members are used than by trying to do a 'word-for-word translation' {aka "Stone Loser").

    Leave a comment:


  • Daryl Lock
    started a topic PB equiv. of 'enum'

    PB equiv. of 'enum'

    Does anyone have a work-around or can tell me the PB equivalent
    for the 'enum' structure? (I honestly have no real idea what
    it is used for LOL)

    Just to make it clearer the code would look like this:

    enum Fred.Stuff
    Fred.OtherStuff
    Fred.Morestuff
    Fred.SomeStuff
    end enum

    Possibly I am missing the obvious answer..it's 3:30 am

    ------------------
Working...
X