we use them a lot and also in DF simply create a class and a global object

the simplest form

Code:
Class cMyClass is a ...
End_Class

Object oGlobalMyClass is a cMyClass
End_Object
then you can either call the object by name or if you want you can use a global integer as well