| Summary: | Exception on if(a as string > b as string) | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | broy2 |
| Component: | EDT | Assignee: | Project Inbox <edt.javascriptgen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Fixed in 20111121 build. Verified. |
Use EUNIT to run: library compare function compare(){@Test} a any? = "Carolina"; b any? = "State"; i int; try if(a as string > b as string) i = 1; end onException(oops AnyException) LogResult.failed("Exception"); exit; end LogResult.assertDecimalEqual1(0, i); end end Running in debug, I see: eglx.javascript.JavaScriptObjectException egl.eglx.lang.EString.compareTo is not a function