AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 33 matches
AutoHotkey Community Forum Index
Author Message
  Topic: AHKArray [Real Array - One Variable] [Version 6]
olegbl

Replies: 72
Views: 10692

PostForum: Scripts & Functions   Posted: Fri Oct 10, 2008 6:04 pm   Subject: AHKArray [Real Array - One Variable] [Version 6]
Ah, I see, no, that's already built in with function overloading.
You'd just call AHKA_Get(arr,key2,key23) to get value at array=>key2=>subarray=>key23=>value. Well, the Get function woul ...
  Topic: AHKArray [Real Array - One Variable] [Version 6]
olegbl

Replies: 72
Views: 10692

PostForum: Scripts & Functions   Posted: Thu Oct 09, 2008 6:44 pm   Subject: AHKArray [Real Array - One Variable] [Version 6]
Actually, this works out for multi-dimensional arrays all by itself, take a look at this:
arr = [[key1:1,key2:2,key3:3],one,[[key21:1,key22:2,key23:3], ...
  Topic: AHKArray [Real Array - One Variable] [Version 6]
olegbl

Replies: 72
Views: 10692

PostForum: Scripts & Functions   Posted: Thu Oct 09, 2008 5:56 pm   Subject: AHKArray [Real Array - One Variable] [Version 6]
Mmm, the wrapper idea is correct, but, it writing a sub-array is bad, because it will screw a lot of dimensionality up, and will need to be rather complex.

I was thinking along the lines of having ...
  Topic: AHKArray [Real Array - One Variable] [Version 6]
olegbl

Replies: 72
Views: 10692

PostForum: Scripts & Functions   Posted: Thu Oct 09, 2008 2:49 am   Subject: AHKArray [Real Array - One Variable] [Version 6]
Cool! Thank you for pointing that out! I'll get that fixed at the same time as I finish up all the tutorials (on some break - like christmas).

I took a look at SteamLab, looks like a cool project! ...
  Topic: [lib] SimpleArray - short, fast, single var array functions
olegbl

Replies: 9
Views: 783

PostForum: Scripts & Functions   Posted: Wed Oct 08, 2008 9:37 pm   Subject: [lib] SimpleArray - short, fast, single var array functions
I would like to see how this compares to AHKArray (which I've been using in SteamLab) for larger, multi-dimensional arrays. Do we know how much faster the encoding is here than AHKArray's hexing?

I ...
  Topic: AHKArray [Real Array - One Variable] [Version 6]
olegbl

Replies: 72
Views: 10692

PostForum: Scripts & Functions   Posted: Mon Sep 08, 2008 10:56 pm   Subject: AHKArray [Real Array - One Variable] [Version 6]
To look up the data using CompanyID#, I suggest using a different system to store the data, since AHKA can only get data by indexes.
Something like:
CsvSource = c:\SvcrList.csv
ArrayName := ...
  Topic: [lib] SimpleArray - short, fast, single var array functions
olegbl

Replies: 9
Views: 783

PostForum: Scripts & Functions   Posted: Mon Aug 25, 2008 8:00 pm   Subject: [lib] SimpleArray - short, fast, single var array functions
Yup, I was thinking of waiting for a settled format, I remember it took me months before I settled on something XD (Though I'm also going to college in about a month heh)
For your encoding/decoding f ...
  Topic: [lib] SimpleArray - short, fast, single var array functions
olegbl

Replies: 9
Views: 783

PostForum: Scripts & Functions   Posted: Mon Aug 25, 2008 8:32 am   Subject: [lib] SimpleArray - short, fast, single var array functions
Cool! I like it! Good job on making it fast!
(I know that takes a ton of work =P)
Are you using a delimetered (|) string to store it (with encoding)?
If you want, I can work on some conversion func ...
  Topic: Library for Text file manipulation
olegbl

Replies: 26
Views: 2514

PostForum: Scripts & Functions   Posted: Mon Aug 25, 2008 8:25 am   Subject: Library for Text file manipulation
Thank you for your work! Great library!
Any chance of a find function, that'd work kind of like replace, except returns the line number/numbers instead of replacing text?

Edit:
Something like thi ...
  Topic: AHKArray [Real Array - One Variable] [Version 6]
olegbl

Replies: 72
Views: 10692

PostForum: Scripts & Functions   Posted: Wed Jul 30, 2008 11:51 pm   Subject: AHKArray [Real Array - One Variable] [Version 6]
Version 6 is done. Thanks for waiting!
  Topic: AHKArray [Real Array - One Variable] [Version 6]
olegbl

Replies: 72
Views: 10692

PostForum: Scripts & Functions   Posted: Sun Jun 22, 2008 10:37 pm   Subject: AHKArray [Real Array - One Variable] [Version 6]
Look again. It's under "Code Sample".
(Note: it uses non-HEXed AHKArrays)

Here's a sample for HEXed AHKArrays:
MyArray := AHKANewArray()
MyArray := AHKAAdd(MyArray, ...
  Topic: AHKArray [Real Array - One Variable] [Version 6]
olegbl

Replies: 72
Views: 10692

PostForum: Scripts & Functions   Posted: Sun Jun 22, 2008 5:14 pm   Subject: AHKArray [Real Array - One Variable] [Version 6]
Sorry for the long time non-reply, I was on vacation, without a pc...
For the sort function to work, you would have to use the beta of version 6.
However, I still haven't finished the documentation ...
  Topic: AHKArray [Real Array - One Variable] [Version 6]
olegbl

Replies: 72
Views: 10692

PostForum: Scripts & Functions   Posted: Tue Jun 03, 2008 11:35 pm   Subject: AHKArray [Real Array - One Variable] [Version 6]
Like HugoV said, the "AHKA_NewArray()" syntax is only for version 6 (which is still in alpha/beta, sorry guys, it'll be done soon...). Version 5, which is apparently what you're using (" ...
  Topic: AHKArray [Real Array - One Variable] [Version 6]
olegbl

Replies: 72
Views: 10692

PostForum: Scripts & Functions   Posted: Sat May 24, 2008 9:34 pm   Subject: AHKArray [Real Array - One Variable] [Version 6]
I didn't look in depth at the code, however, if it takes a long time, that's normal. My library was built (so far) for functionality rather than speed. It IS very slow in some parts. It comes from it ...
  Topic: AHKArray [Real Array - One Variable] [Version 6]
olegbl

Replies: 72
Views: 10692

PostForum: Scripts & Functions   Posted: Thu May 08, 2008 10:52 pm   Subject: AHKArray [Real Array - One Variable] [Version 6]
Thanks to infogulch for pointing out that the new HEX function which use SetFormat, only work for integer/float values. The method has been reverted back, and the alpha will now work with all characte ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group