[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Defect relating to how Assert:IsTrue evaluates the unknown value...

  • Thread starter Thread starter Brian K. Maher
  • Start date Start date
Status
Not open for further replies.
B

Brian K. Maher

Guest
This workaround is in the bug report... Workaround is: Use the overloaded Assert methods - IsTrue (logical, character) IsFalse (logical, character) IsUnknown (logical, character) i.e. using OpenEdge.Core.Assert. define variable lVar as logical no-undo initial ?. // Uncomment each method in turn and run the procedure. //Assert:IsTrue(lVar, "IsTrue"). //isTrue is not true //Assert:IsFalse(lVar, "IsFalse"). //IsFalse is not false //Assert:IsUnknown(lVar, "IsUnknown"). //Succeeds. Brian Maher Principal Engineer, Technical Support Progress 14 Oak Park | Bedford, MA 01730 | USA phone 781-280-3075 www.progress.com

Continue reading...
 
Status
Not open for further replies.
Back
Top