Jump to content

v3.0.103 Unstable - Revolutions


Jon
 Share

Recommended Posts

  • Developers

I still use those to do speed tests and to force the regeneration of all files (easier than deleting the html directory).

Edit: Oh and how can I make it so that only 1 backup is made - they are huge :idiot:

<{POST_SNAPBACK}>

I was thinking of modifying the All_txt2htm.au3 to enable to make SEE ALSO references for the UDF's to buildin functions which is currently not possible.

If you want i can put a commandlimne param in there to regenerate all or always regenerate all if you don't mind the wait....

Do you mean the backups of "Table of Contents_old??.hhc" ?

Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Replies 166
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Administrators

Updated:

http://www.autoitscript.com/autoit3/files/unstable/autoit/

- Added the Const keyword

I know I wasn't going to add any more features, but I decided that it would be quite a good one especially with all the GUIConstants.

It works almost the same as Dim:

Const $const = 10
Const $const = 10, $const2 = 20
Const Local $const = 10
Const Global $const = 10

If you try and assign a value to a const you get a runtime error. Also, you can't turn an existing variable into a const. The places where I trapped attempted writes to a const are:

- $var =

- For $i =

- Using a const as a ByRef param

I think that is all the places it can happen?

Now, I just need to get the motivation to do this GUI tutorial and doc editing. :idiot:

Edited by Jon
Link to comment
Share on other sites

Updated:

http://www.autoitscript.com/autoit3/files/unstable/autoit/

- Added the Const keyword

I know I wasn't going to add any more features, but I decided that it would be quite a good one especially with all the GUIConstants.

It works almost the same as Dim:

Const $const = 10
Const $const = 10, $const2 = 20
Const Local $const = 10
Const Global $const = 10

If you try and assign a value to a const you get a runtime error.  Also, you can't turn an existing variable into a const.  The places where I trapped attempted writes to a const are:

- $var =

- For $i =

- Using a const as a ByRef param

I think that is all the places it can happen?

Now, I just need to get the motivation to do this GUI tutorial and doc editing.  :D

<{POST_SNAPBACK}>

@Jon

Thanks for adding this new feature. I know it's New Year and all and I probably sound like I am nit-picking but wouldn't it sound better to define const this way:

Global Const $myglobalconst = 1
Local Const $mylocalconst = 2

Cheers

:idiot:

Link to comment
Share on other sites

  • Administrators

@Jon

Thanks for adding this new feature. I know it's New Year and all and I probably sound like I am nit-picking but wouldn't it sound better to define const this way:

Global Const $myglobalconst = 1
Local Const $mylocalconst = 2

Cheers

:idiot:

I could certainly change it to that if most people think it's better?
Link to comment
Share on other sites

  • Administrators

Done and uploaded.

Dim Const $a, $b
Cost $a, $b
Local Const $a, $b
Global Const $a, $b

Edit: I've just updated the GUIConstants.au3 file to use the Const keyword too.

Edited by Jon
Link to comment
Share on other sites

  • Administrators

Updated:

- Some GUI fixes from JP

- Some doc and date.au3 fixes as reported in bug forum.

I've moved the "unstable" directory to "beta". The name unstable was scaring people for no reason :idiot:

http://www.autoitscript.com/autoit3/files/beta/autoit/

Link to comment
Share on other sites

Updated:

- Some GUI fixes from JP

- Some doc and date.au3 fixes as reported in bug forum.

I've moved the "unstable" directory to "beta".  The name unstable was scaring people for no reason :D

http://www.autoitscript.com/autoit3/files/beta/autoit/

<{POST_SNAPBACK}>

Great, now it'll be our (lack of) coding abilities that scares people instead of the name of the directory its in. :idiot:
Link to comment
Share on other sites

you guys are killing me. Every time this thread lights up, I think Jon has cut another beta... :lol:   I pop in and it's just pleasantries :D

Lar.

<{POST_SNAPBACK}>

:idiot: Can you ban them for being too nice?

Sorry, I am clogging up the thread too...

Edited by pacman
Link to comment
Share on other sites

  • Administrators

Minor Update

- Help CSS style sheet modified for code/examples after a suggestion by josbe

- A couple of reported helpfile bugs fixed

- StringReplace uses @extended instead of @error for replacements

Link to comment
Share on other sites

Minor Update

- Help CSS style sheet modified for code/examples after a suggestion by josbe

- A couple of reported helpfile bugs fixed

- StringReplace uses @extended instead of @error for replacements

<{POST_SNAPBACK}>

Very good. :idiot:

Some about StringReplace page:

Returns the new string, the number of replacements performed is stored in @extended.

But in the example the syntax used is '@error' not '@extended'...(please correct me if I'm wrong)
Link to comment
Share on other sites

you guys are killing me. Every time this thread lights up, I think Jon has cut another beta... :D  I pop in and it's just pleasantries :idiot:

Lar.

<{POST_SNAPBACK}>

Same, thats why this is my first time posting in one of them.

... Just a way to increase post count for some people...

Edited by killaz219
Link to comment
Share on other sites

  • Administrators

Updated:

- Added @AutoItExe macro

- Rewrote main gui reference page

- Misc UDF and doc fixes

I added the @AutoItExe macro as it was really bugging me when I had a script and wanted to run another script that I had to try and find out the autoit installation directory from the registry. The macro just returns the full path of the AutoIt3.exe exe that was used to run the script.

Link to comment
Share on other sites

Updated:

- Added @AutoItExe macro

- Rewrote main gui reference page

- Misc UDF and doc fixes

I added the @AutoItExe macro as it was really bugging me when I had a script and wanted to run another script that I had to try and find out the autoit installation directory from the registry.  The macro just returns the full path of the AutoIt3.exe exe that was used to run the script.

<{POST_SNAPBACK}>

I like THe @autoitexe macro thanks JON
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...