View Issue Details

IDProjectCategoryView StatusLast Update
0002950JEDI VCL00 JVCL Componentspublic2005-05-23 13:29
ReporteranonymousAssigned ToAHUser 
PrioritynormalSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.00 
Target VersionFixed in Version3.10 
Summary0002950: Bug in JvInterpreterVarAsType (JvInterpreter)
DescriptionIn function JvInterpreterVarAsType we have this code :

    if TVarData(V).VType = varInteger then
    begin
      if (TVarData(V).VType = VarType) then
>> Result := Ord(V = True) <<
      else
        Result := Integer(V);
    end;

But, when I want to use a varByRef variant, the returned values are not good (for example, it always returns 0 for a varInteger). I don't understand what is the purpose of returning "Ord(V = True)" when it's an varInteger.
Additional InformationNo more...
TagsNo tags attached.

Activities

AHUser

2005-05-23 13:29

developer   ~0007319

Fixed in CVS.

Issue History

Date Modified Username Field Change
2005-05-12 05:40 anonymous New Issue
2005-05-23 13:29 AHUser Status new => resolved
2005-05-23 13:29 AHUser Resolution open => fixed
2005-05-23 13:29 AHUser Assigned To => AHUser
2005-05-23 13:29 AHUser Note Added: 0007319