Sort Example #2 missing closing brace Topic is solved

Share your ideas as to how the documentation can be improved.
iPhilip
Posts: 822
Joined: 02 Oct 2013, 12:21

Sort Example #2 missing closing brace

07 Feb 2021, 23:56

https://www.autohotkey.com/docs/commands/Sort.htm#ExFileContents

Code: Select all

FileRead, Contents, C:\Address List.txt
if not ErrorLevel  ; Successfully loaded.
{
    Sort, Contents
    FileDelete, C:\Address List (alphabetical).txt
    FileAppend, %Contents%, C:\Address List (alphabetical).txt
    Contents := ""  ; Free the memory.
    
<--- Missing closing brace
Windows 10 Pro (64 bit) - AutoHotkey v2.0+ (Unicode 64-bit)
User avatar
Ragnar
Posts: 614
Joined: 30 Sep 2013, 15:25

Re: Sort Example #2 missing closing brace  Topic is solved

08 Feb 2021, 04:29

Thanks for reporting. The change is included in PR #464.

Return to “Suggestions on Documentation Improvements”

Who is online

Users browsing this forum: No registered users and 19 guests