Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EDT:EGL Language conversion"
Line 5: | Line 5: | ||
{| width="800" cellspacing="1" cellpadding="1" border="1" | {| width="800" cellspacing="1" cellpadding="1" border="1" | ||
|- | |- | ||
− | | bgcolor="# | + | | bgcolor="#bbbbbb" align="center" | RBD/EGL CE |
− | | bgcolor="# | + | | bgcolor="#bbbbbb" align="center" | EDT |
|- | |- | ||
| Called program | | Called program | ||
Line 18: | Line 18: | ||
|- | |- | ||
| Nullable | | Nullable | ||
− | | | + | | <br> |
|} | |} | ||
Line 25: | Line 25: | ||
{| width="800" cellspacing="1" cellpadding="1" border="1" | {| width="800" cellspacing="1" cellpadding="1" border="1" | ||
|- | |- | ||
− | | bgcolor="# | + | | bgcolor="#bbbbbb" align="center" | RBD/EGL CE |
− | | bgcolor="# | + | | bgcolor="#bbbbbb" align="center" | EDT |
|- | |- | ||
| Default is inout | | Default is inout | ||
Line 38: | Line 38: | ||
{| width="800" cellspacing="1" cellpadding="1" border="1" | {| width="800" cellspacing="1" cellpadding="1" border="1" | ||
|- | |- | ||
− | | bgcolor="# | + | | bgcolor="#bbbbbb" align="center" | RBD/EGL CE |
− | | bgcolor="# | + | | bgcolor="#bbbbbb" align="center" | EDT |
|- | |- | ||
| time | | time | ||
Line 56: | Line 56: | ||
{| width="800" cellspacing="1" cellpadding="1" border="1" | {| width="800" cellspacing="1" cellpadding="1" border="1" | ||
|- | |- | ||
− | | bgcolor="# | + | | bgcolor="#bbbbbb" align="center" | RBD/EGL CE |
− | | bgcolor="# | + | | bgcolor="#bbbbbb" align="center" | EDT |
|- | |- | ||
| system libraries | | system libraries | ||
Line 75: | Line 75: | ||
{| width="800" cellspacing="1" cellpadding="1" border="1" | {| width="800" cellspacing="1" cellpadding="1" border="1" | ||
|- | |- | ||
− | | bgcolor="# | + | | bgcolor="#bbbbbb" align="center" | RBD/EGL CE |
− | | bgcolor="# | + | | bgcolor="#bbbbbb" align="center" | EDT |
|- | |- | ||
| call host program | | call host program | ||
Line 89: | Line 89: | ||
{| width="800" cellspacing="1" cellpadding="1" border="1" | {| width="800" cellspacing="1" cellpadding="1" border="1" | ||
|- | |- | ||
− | | bgcolor="# | + | | bgcolor="#bbbbbb" align="center" | RBD/EGL CE |
− | | bgcolor="# | + | | bgcolor="#bbbbbb" align="center" | EDT |
|- | |- | ||
| matches | | matches | ||
| no longer an operator, have to use String matchesPattern() function instead | | no longer an operator, have to use String matchesPattern() function instead | ||
|- | |- | ||
− | | like | + | | like |
| no longer an operator, have to use String isLike function instead | | no longer an operator, have to use String isLike function instead | ||
|- | |- | ||
− | | bitwise | + | | bitwise |
− | | operators support for int types only. | + | | operators support for int types only. RBD supports SmallInt as well |
− | + | ||
|} | |} | ||
Line 107: | Line 106: | ||
{| width="800" cellspacing="1" cellpadding="1" border="1" | {| width="800" cellspacing="1" cellpadding="1" border="1" | ||
|- | |- | ||
− | | bgcolor="# | + | | bgcolor="#bbbbbb" align="center" | RBD/EGL CE |
− | | bgcolor="# | + | | bgcolor="#bbbbbb" align="center" | EDT |
|- | |- | ||
| basicLibrary | | basicLibrary | ||
Line 127: | Line 126: | ||
| PGM allowUnqualifiedItemReferences = yes<br> | | PGM allowUnqualifiedItemReferences = yes<br> | ||
| must fully qualify part names<br> | | must fully qualify part names<br> | ||
− | + | |- | |
+ | | XMLStructure = xmlStructurekind<br> | ||
+ | | XMLValue {kind = xmlStructurekind.<br> | ||
+ | |- | ||
+ | | FORMName <br> | ||
+ | | <br> | ||
|} | |} |
Revision as of 19:51, 21 September 2011
EGL language conversion consideration from RBD/EGLCE
RBD/EGL CE | EDT |
Called program | Not supported |
DataItem, Stand alone (top level) function |
Not supported right now |
Datatable, Structured Record, Form, FormGroup |
Not supported |
Nullable | |
RBD/EGL CE | EDT |
Default is inout | Default is inout for value type
Default is in for reference type |
RBD/EGL CE | EDT |
time | replaced with timestamp |
interval | Not Supported right now, no replacement |
Money, num, bin |
use Decimal |
RBD/EGL CE | EDT |
system libraries | all needs to be fully qualified with library name i.e. sysLib, dateTimeLib, serviceLib, xmlLib...etc. |
currentTimeStamp() dateTimeLib.currentTimeStamp() |
|
|
|
RBD/EGL CE | EDT |
call host program
call local program |
Not supported right now |
RBD/EGL CE | EDT |
matches | no longer an operator, have to use String matchesPattern() function instead |
like | no longer an operator, have to use String isLike function instead |
bitwise | operators support for int types only. RBD supports SmallInt as well |
RBD/EGL CE | EDT |
basicLibrary | no more basicLibrary |
annotation on Library | no annotation is supported on library |
RuntimeException |
no more RuntimeException, use AnyException |
IndexOutOfBoundException |
InvalidIndexException |
PGM includeReferencedFunctions=yes |
top level function are not supported |
PGM allowUnqualifiedItemReferences = yes |
must fully qualify part names |
XMLStructure = xmlStructurekind |
XMLValue {kind = xmlStructurekind. |
FORMName |
|