Opened 15 years ago

Closed 15 years ago

#943 closed Bug (No Bug)

not correct prcocedure

Reported by: anonymous Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


;Exemple 1 (Need return "ds")
$i =StringLen($q)
$i -= 1
Until IsNumber(StringMid($q,$i,1)) = StringMid($q,$i,1) And isNumber(StringMid($q,$i+1,1)) = StringMid($q,$i+1,1)
MsgBox(0,"",StringMid($q,$i,1)& StringMid($q,$i+1,1))

;Exemple 2 
MsgBox(0,'its String!',IsString(StringMid($q,2,1)));(Need return "0" )
MsgBox(0,'its Number!',IsNumber(StringMid($q,2,1)));(Need return "1")

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by Valik

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

You miss the point of what IsString() and IsNumber() do. Re-read the documentation closer. In addition things like this should be posted on the support forum.

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.