3676
Finished Programs / Re: DONE: Generate sequential serial numbers
« Last post by 4wd on June 25, 2012, 07:54 PM »I'm one of those strange people that always try to use the smallest amount of space possible: in electronics I pack components together on a board, (and then have fun finding the faults); packing items, I'll try to use the smallest practical space; in code, I'll look for less lines.
Easy to see it as boolean instead of string.) That's why I came up with _IniBool() function. It seems trivial but with it you can actually use Boolean values in AutoIt variables and True or False will be written to the .ini using IniWrite. If the user changes it to 1 for true and 0 for false, it still functions as expected.Func _IniBool($val)
If $val = "True" Or $val = "1" Then Return True
Return False
EndFunc ;==>_IniBool-MilesAhead (June 25, 2012, 04:45 PM)
Code: AutoIt [Select]

Recent Posts





