Doghouse Posted December 5, 2010 Share Posted December 5, 2010 I know there is probably something very simple to do this, but I'm just not seeing it (or mopre likely not looking in the right place.) Is there a way to assign a letter value to a variable andd have ith increase one letter at a time? Example, the variable starts with a value of "A", and is increased one letter at a time, "B", "C", "D"... While I'm looking for help, can anyone point me in the right direction for another question? I'm trying to find a way to get a value for the previous day's date in mmddyy format. It's something that's easy to think about and simple for a human. I'm still banging my head on the proverbial wall to automate the porcess. Thanks in advance for your time, assistance and knowledge. Link to comment Share on other sites More sharing options...
Zedna Posted December 5, 2010 Share Posted December 5, 2010 (edited) $text = "" For $i = 65 to 90 $text = $text & Chr($i) Next MsgBox(0, "Uppercase alphabet", $text) #include <Date.au3> StringReplace(_DateAdd( 'd', -1, _NowCalcDate()),'/','') Edited December 5, 2010 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted December 5, 2010 Share Posted December 5, 2010 (edited) Like this? For $iX = 65 To 90 ConsoleWrite(Chr($iX) & @CRLF) Next Edit: Edited December 5, 2010 by AdmiralAlkex .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Doghouse Posted December 8, 2010 Author Share Posted December 8, 2010 Thanks for the help! Link to comment Share on other sites More sharing options...
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