- Code: Select all
/**
* Represents the payment status.
*
* @enum {Number}
* @public
*/
var PAYMENT_STATUS = {
UNPAID: 0,
PAID: 1
}
I recognised after output:
- Code: Select all
application.output( PAYMENT_STATUS.UNPAID + ' ' + PAYMENT_STATUS.PAID );
that the properties are "undefinded". After I'm closing Servoy Developer Version: 7.2.0 - build 2013, that enum works like intended.