Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#3658 closed Bug (No Bug)

Problem Number

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


$result=Mod($Num,97) ; = 64
$recup=StringSplit ($result,"")
$math=Number ($recup [1]&"-"&$recup [2]); 6-4=2 he is wrong he is leaving 6 instead of 2
$key=Number ($result&"+"&$math)
MsgBox (0,"",$result)
MsgBox (0,"",$key)
MsgBox (0,"",$math)

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by Melba23

You need to use Execute and not Number:

$math = Execute($recup[1] & "-" & $recup[2])

Using Number just returns the digits until the first non-digit, so "6-4" becomes "6".


P.S And better to post in the forum for support rather than immediately claiming "bug"

Last edited 4 years ago by Melba23 (previous) (diff)

comment:2 Changed 4 years ago by Melba23

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

comment:3 Changed 4 years ago by jchd18

I answered your very same question on the French forum.
In the future, post on one forum and wait for support there before asserting a bug here.

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.