IBM Support

DXL encounters an error when not equal operator is used with an integer variable and a referenced integer variable

Troubleshooting


Problem

DXL encounters the following error when not equal operator is used with an integer variable and a referenced integer variable:
-R-W- DXL: <Line:3> Argument 2 (32 bit int) was passed with a 64 bit value

Symptom

Consider the following code:

void testCompare(int intA, int& intB)
{
    if (intB != intA)
        print "B not equal A (3)\n"
    else
        print "A equal B (3)\n"
}

int intA = 1
int intB = 5
testCompare(intA, intB)

DXL encounters an error when you have used not equal operator with an integer variable and a referenced integer variable.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSKR2T","label":"IBM Engineering Requirements Management DOORS"},"ARM Category":[{"code":"a8m50000000L3D6AAK","label":"DOORS"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7.2"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
14 April 2023

UID

ibm16983140