Jump to content

Recommended Posts

$var = "4.9.1.2.3.3.4.0.0.4.2.3.4.9.8.4.0.0.0.0.4.2.3.4.9.0.0.0.2.3.8.3.2"
$out = StringReplace($var,".","+")
If StringRight($out,1) = "+" Then
    $out = StringLeft($out,StringInStr($out,"+",0,-1)-1)
EndIf
MsgBox(1,"$out",$out)
$sum = Execute($out)
MsgBox(1,"$sum",$sum)

Edited by jefhal
...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...