Welcome Guest.   Make a donation to an author on the site October 30, 2014, 06:42:42 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
View the new Member Awards and Badges page.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: useful snippets?  (Read 1938 times)
MilesAhead
Member
**
Posts: 4,969



View Profile WWW Give some DonationCredits to this forum member
« on: May 10, 2009, 12:56:01 PM »

Is there anywhere to post useful snippets?  The Programming School forum is busted out into languages already but I don't know if snippet posting would be a distraction or disallowed?

I'm just thinking if somebody came up with a few lines of code, esp. something that harnesses a resource that might not be obvious, it might be useful.

As example of what I mean, I was trying to find a way to simulate associative arrays in AutoIt3 to make it easy to look up a text symbol using a more human readable key.  I ran into a discussion on AutoIt Forum making use of the Microsoft Scripting.Dictionary object that's already on Windows.  That simplified matching up key/item pairs instead of trying to mess with 2 dimensional arrays or some other more complex library.

Anyway, if snippet posting is allowed then I vote for an AutoIt3 language to be added to the compendium.  thumbs up
Logged

"Genius is not knowing you can't do it that way."
- MilesAhead
mnemonic
Supporting Member
**
Posts: 176



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #1 on: May 10, 2009, 02:06:44 PM »

There are the individual forums in each language, but nothing specifically for these kinds of snippets.

Seems like another reason for a Donationcoder wiki  Thmbsup
Logged
MilesAhead
Member
**
Posts: 4,969



View Profile WWW Give some DonationCredits to this forum member
« Reply #2 on: May 10, 2009, 03:49:41 PM »

There are the individual forums in each language, but nothing specifically for these kinds of snippets.

Seems like another reason for a Donationcoder wiki  Thmbsup

It should definitely be broken out into the programming language whatever container it's in.  Just thought the categories were already there with Programming School. Maybe it would increase the traffic too if people looked through trying to get a useful function or whatnot?
Logged

"Genius is not knowing you can't do it that way."
- MilesAhead
MilesAhead
Member
**
Posts: 4,969



View Profile WWW Give some DonationCredits to this forum member
« Reply #3 on: May 10, 2009, 08:48:54 PM »

Hmmmmmmmmm just as I was getting psyched about having Associative Arrays in AutoIt3 on the cheap, I tried it in my program that starts with Windows.  It really bogs it during a fresh boot.  Oh well, guess you can't get something for nothing. Sad
Logged

"Genius is not knowing you can't do it that way."
- MilesAhead
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.026s | Server load: 0.16 ]