Modify

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: 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 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:(3.3.6.1):Environment(Language:0409 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

Action
as closed The ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.