Modify ↓
#1544 closed Bug (No Bug)
Error in Help file - VarGetType
| Reported by: | Melba23 | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | Documentation | |
| Version: | 3.3.6.0 | Severity: | None |
| Keywords: | Cc: |
Description
On the Help file page for VarGetType:
"Remarks
IsInt can return different results as it tries to convert from a string or float."
Should presumably read VarGetType.
M23
Attachments (0)
Change History (2)
comment:1 by , 16 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
comment:2 by , 15 years ago
Closed or not.
The remark "IsInt can return different results as it tries to convert from a string or float." don't seems to have any relation to the VarGetType() function.
That, and this.
MsgBox(0,'MsgBox','IsInt("32") = ' & IsInt("32")) ;; 0(False)
MsgBox(0,'MsgBox','StringIsInt("32") = ' & StringIsInt("32")) ;; 1(true)
Running:(3.3.6.1):Environment(Language:0409 Keyboard:00000409 OS:WIN_XP/Service Pack 3 CPU:X86 OS:X86)
Note:
See TracTickets
for help on using tickets.

The remark is correct. VarGetType() might return "String" but IsInt() might return True if the string is, for example, "32".