Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#1544 closed Bug (No Bug)

Error in Help file - VarGetType

Reported by: Melba23 Owned by:
Milestone: Component: Documentation
Version: Severity: None
Keywords: Cc:


On the Help file page for VarGetType:

IsInt can return different results as it tries to convert from a string or float."

Should presumably read VarGetType.


Attachments (0)

Change History (2)

comment:1 Changed 14 years ago by Valik

  • Resolution set to No Bug
  • Status changed from new to closed

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

comment:2 Changed 13 years ago by mvg

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:( Keyboard:00000409 OS:WIN_XP/Service Pack 3 CPU:X86 OS:X86)

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.