erifash Posted July 30, 2005 Posted July 30, 2005 (edited) These functions are much like the previous ones written by various people (such as blindwig's Binary Tree funcs) but these use only a single string to store information. These functions store information in INI format so you can store the table to a file then read it with INIRead and such. Using these, you can store information to a key then call the key and get the information. If you try to set a key that already exists, it will overwrite the old value with the new value. Very useful.Functions:_INITableCreate ( ) - Creates an INI Table._INITableSet ( ByRef $s_Table, $s_Key, $s_Value ) - Sets a key and it's value in the INI Table._INITableGet ( ByRef $s_Table, $s_Key ) - Gets the value of the specified key in the INI Table._INITableDel ( ByRef $s_Table, $s_Key ) - Deletes a key and it's value from the INI Table._INITableSave ( ByRef $s_Table, $s_INI ) - Writes an INI Table to a file._INITableLoad ( $s_INI ) - Loads an INI Table from a file._INITableExists ( ByRef $s_Table, $s_Key ) - Checks if a given key exists in the INI Table._INITableCheck ( ByRef $s_Table ) - Checks that an INI Table is in the proper format._INITableDisplay ( ByRef $s_Table, $s_Title = "INI Table" ) - Displays an INI Table.Not much of anything else I can think of, I you want to check these out the UDF and example are attached. Questions/comments are greatly appreciated as I am always trying to improve my scripts! EDIT: Sorry blindwig! The correct author is up there now. Edited September 10, 2005 by erifash My UDFs:_FilePrint() | _ProcessGetName() | _Degree() and _Radian()My Scripts:Drive Lock - Computer Lock Using a Flash DriveAU3Chat - Simple Multiuser TCP ChatroomStringChunk - Split a String Into Equal PartsAutoProxy - Custom Webserver
erifash Posted July 31, 2005 Author Posted July 31, 2005 Does anyone like this or think it is an innovative idea? Also, I have updated the functions with minor bug fixes. My UDFs:_FilePrint() | _ProcessGetName() | _Degree() and _Radian()My Scripts:Drive Lock - Computer Lock Using a Flash DriveAU3Chat - Simple Multiuser TCP ChatroomStringChunk - Split a String Into Equal PartsAutoProxy - Custom Webserver
Gigglestick Posted September 10, 2005 Posted September 10, 2005 I can't believe I never saw this on the topic list! This is great! This is of enormous use to me. Thanks! I only noticed it after I was about 80% done trying to do it myself... yours is MUCH cleaner than my code though, and now I don't have to do the documentation! My UDFs: ExitCodes
erifash Posted September 10, 2005 Author Posted September 10, 2005 Thanks, but you might like this better:http://www.autoitscript.com/forum/index.php?showtopic=15659 My UDFs:_FilePrint() | _ProcessGetName() | _Degree() and _Radian()My Scripts:Drive Lock - Computer Lock Using a Flash DriveAU3Chat - Simple Multiuser TCP ChatroomStringChunk - Split a String Into Equal PartsAutoProxy - Custom Webserver
LxP Posted September 10, 2005 Posted September 10, 2005 Oops, you probably should change your top post to give credit to the correct author of the Binary Tree functions!
erifash Posted September 10, 2005 Author Posted September 10, 2005 Oops! Fixed that. My UDFs:_FilePrint() | _ProcessGetName() | _Degree() and _Radian()My Scripts:Drive Lock - Computer Lock Using a Flash DriveAU3Chat - Simple Multiuser TCP ChatroomStringChunk - Split a String Into Equal PartsAutoProxy - Custom Webserver
busysignal Posted September 18, 2005 Posted September 18, 2005 Does anyone like this or think it is an innovative idea? Also, I have updated the functions with minor bug fixes.Doing a little back tracking on the forum today.. I am doing catch up..Nice set of tools. Keep up the good work.. Cheers..
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now