ENUM ProcessState
Running
Stopped
Shutdown
Free
end enum
type process
dim as ubyte state
declare constructor()
end type
constructor process
process.state = ProcessState.Free
end constructor
ENUM ProcessState
Running
Stopped
Shutdown
Free
end enum
type process
dim as ubyte state
declare constructor()
end type
constructor process
state = ProcessState.Free
end constructor
ENUM ProcessState
Running
Stopped
Shutdown
Free
end enum
type process
dim as ubyte state
declare constructor()
end type
constructor process
'' Either one of these will work
state = ProcessState.Free
this.state = ProcessState.Free
end constructor
ENUM ProcessState_e
Running
Stopped
Shutdown
Free
end enum
type process
state as ProcessState_e
declare constructor()
end type
constructor process
this.state = ProcessState_e.Free
end constructor
im not sure if it will help but if im using an enum as an "state"-variable then i declare it like this.