A numerically indexed object with lots of useful functionality. You can fill containers using delimited strings, lists saved to a file, or other objects. Add, remove, split, slice, filter, sort, copy, and compare containers. Export container contents back to strings, files, and objects. Ready to be extended for your own Container-based objects.
This project was recently split off from my FileContainer project, and so the current functionality only covers what I wanted to have for FileContainer. Now I'm starting to think about what functionality belongs in a generic container... any feedback is very much appreciated!
Requirements (Download required scripts all at once)
[*:267far6q]Object Preferences
[*:267far6q]A build of AHK that supports objects
Content
Download Container.ahk (release #2)
Online Documentation (2010-10-17, 12:49)
Examples coming soon
Keywords (mostly method names):list, listn, array, arrayn, file, filen, refresh, toList, toArray, toFile, toClipboard, add, x, clear, makeCopy, makeTemplate, absorb, extend, become, bud, sort, rsort, sortLinked, rsortLinked, makeOrder, updateLinked, manipulate, editAsText, filter, filterTF, xBlanks, xDuplicates, xShared, xIn, iIn, xAt, iAt, xRange, iRange, s, makeSlice, makeIndicesSlice, makeRangeSlice, makeSplit, isEmpty, IsEqual, IsEquivalent, find, len, saveParams, super, get, makeNew, makeTemp, AHKH AHKL Object AutoHotkey_H AutoHotkey_L, editAsText
[Object] Container
Started by
Rapte_Of_Suzaku
, Sep 30 2010 02:47 PM
4 replies to this topic
#1
-
Posted 30 September 2010 - 02:47 PM
Looks nice and useful. Will let you know more upon real life usage.
Thx.
Thx.
#2
-
Posted 01 October 2010 - 06:45 PM
Looks like your script would benefit from variadic functions. Call() is obsolete, but can be written as below (for example):
Call(func, prms*) { return %func%(prms*) }
#3
-
Posted 02 October 2010 - 02:28 AM
Oh, excellent! AutoHotkey_L revision 60 makes me very happy. Not just variadic functions, the ByRef change is going to come in handy for an object debugger I've been experimenting with.
and majkinetor - I eagerly await your feedback ^_^
and majkinetor - I eagerly await your feedback ^_^
#4
-
Posted 03 October 2010 - 02:05 AM
Release #2
New Features:[*:1442iqf8]variadic functions!
[*:1442iqf8]COM construction method for using a COM object as a source of items (new idea, so features aren't settled)Bugfixes:[*:1442iqf8]there were a number of missed dependancies on FileContainer. It seems I didn't split the project all the way last time...Changes:[*:1442iqf8]toFile now overwrites target file by default.
New Features:[*:1442iqf8]variadic functions!
[*:1442iqf8]COM construction method for using a COM object as a source of items (new idea, so features aren't settled)Bugfixes:[*:1442iqf8]there were a number of missed dependancies on FileContainer. It seems I didn't split the project all the way last time...Changes:[*:1442iqf8]toFile now overwrites target file by default.
#5
-
Posted 17 October 2010 - 05:36 PM