| Summary: | egl.eglx.lang.EString.startsWith is not a function | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kathy Carroll <carrollk> |
| Component: | EDT | Assignee: | Project Inbox <edt.javascriptgen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | greer |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
added this to the testcase
function testMatches()
result boolean = "abcedf".matchesPattern("a?c*");
if (result)
syslib.writestdout("good");
else
syslib.writestdout("bad");
end
end
Fixed the RT impls. of startsWith, endsWith, matchesPattern Verified with build 201110170901 & closed |
egl.eglx.lang.EString.startsWith is not a function egl.eglx.lang.EString.endsWith is not a function egl.eglx.lang.EString.startsWith is not a function [CRRUI2094E] Here are the EGL function calls leading to this error: client/StringTester.egl() at line 17 client/StringTester.egl() at line 12 StringTester.<init>() [native JavaScript] start() at line 68 egl.eglx.lang.EString.startsWith is not a function Simple/client/StringTester.js?contextKey=38:68 [CRRUI2095E] Could not find the EGL function calls leading to this error for handler StringTester type RUIhandler{initialUI =[ ], onConstructionFunction = start, cssFile = "css/Simple.css", title = "StringTester"} function start() syslib.writestdout("start test"); testStartsWith(); syslib.writestdout("end test"); end function testStartsWith() result boolean = "abcedf".startsWith("abc"); if (result) syslib.writestdout("good"); else syslib.writestdout("bad"); end end end