View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002950 | JEDI VCL | 00 JVCL Components | public | 2005-05-12 05:40 | 2005-05-23 13:29 |
| Reporter | anonymous | Assigned To | AHUser | ||
| Priority | normal | Severity | block | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.00 | ||||
| Target Version | Fixed in Version | 3.10 | |||
| Summary | 0002950: Bug in JvInterpreterVarAsType (JvInterpreter) | ||||
| Description | In 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 Information | No more... | ||||
| Tags | No tags attached. | ||||