Servoy developer enum undefined
Posted: Thu Sep 05, 2013 1:10 pm
I created the following enum.:
I recognised after output:
that the properties are "undefinded". After I'm closing Servoy Developer Version: 7.2.0 - build 2013, that enum works like intended.
- 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.