Modify

Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#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 Valik, 16 years ago

Resolution: No Bug
Status: newclosed

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

comment:2 by mvg, 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)

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.