Jump to content

How to install beta and stable on same machine


Go to solution Solved by kylomas,

Recommended Posts

Posted

Gad I feel dumb asking this question, as I'm certain I've seen this 100 times.  But I just can't seem to find anything after searching the forum, the wiki, the FAQs, and the AutoIt help file.  Would someone be so kind as to provide an RTFM link to installing and using a beta version simultaneous with the stable version?

I'm very interested in testing the new associative arrays.  However, I have numerous scripts that I use on a daily basis, and I can't really afford to have them broken when performing the tasks they were created to perform.  I don't mind testing them in the beta, but they need to work when I use them.

TIA

How's my riding? Dial 1-800-Wait-There

Trying to use a computer with McAfee installed is like trying to read a book at a rock concert.

  • Solution
Posted

Just download the Beta and install it...In SciTE you will see options to run prod or beta (under tools)...

Forum Rules         Procedure for posting code

"I like pigs.  Dogs look up to us.  Cats look down on us.  Pigs treat us as equals."

- Sir Winston Churchill

  • Moderators
Posted

mrider,

Just run the Beta installer - it installs into its own folder inside the standard install folder tree and you can use either version without interference or problem. And if you use the full SciTE4AutoIt3 package you even get new menu items to enable you to choose which version you want to use to syntax check/run/compile your scripts. :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted

Thanks!  Testing now...

How's my riding? Dial 1-800-Wait-There

Trying to use a computer with McAfee installed is like trying to read a book at a rock concert.

Posted (edited)

That's freaking AWESOME!!

Obviously my syntax could be improved - I whipped this up with only a few minutes of thought - but check out the pseudo-object behavior.  Having maps that can take function addresses will allow us to create objects similar to how Perl does so.  I can't wait until this goes live...

#include <MsgBoxConstants.au3>

Local $aObjs[2] = [NewFoo(), NewBar()]
For $i = 0 To UBound($aObjs) - 1

;    Local $sMsg = ($aObjs[$i])["Output"]() ;<-- Granted, this is a bit stilted

    Local $sMsg = ($aObjs[$i].Output)() ; <-- Better, but could still be improved...
    MsgBox($MB_SYSTEMMODAL, "Test", $sMsg)
Next


Func NewFoo()
    Local $mPseudoObj[]
    $mPseudoObj["Output"] = FooOutput
    Return $mPseudoObj
EndFunc

Func FooOutput()
    Return "Foo"
EndFunc


Func NewBar()
    Local $mPseudoObj[]
    $mPseudoObj["Output"] = BarOutput
    Return $mPseudoObj
EndFunc

Func BarOutput()
    Return "Bar"
EndFunc
Edited by mrider

How's my riding? Dial 1-800-Wait-There

Trying to use a computer with McAfee installed is like trying to read a book at a rock concert.

Posted
  On 12/10/2014 at 6:38 PM, mrider said:

 

That's freaking AWESOME!!

Obviously my syntax could be improved - I whipped this up with only a few minutes of thought - but check out the pseudo-object behavior.  Having maps that can take function addresses will allow us to create objects similar to how Perl does so.  I can't wait until this goes live...

 

You're not the only one! :D

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
  • Recently Browsing   0 members

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