Home »
Public Forums »
archive »
String Array to 'regular' array?
Re: String array [message #79921 is a reply to message #67618] |
Fri, 13 April 2012 20:20  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Theresa writes:
> I'm semi-new to creating programs and I've hit a wall.
>
> I'm creating a program that will allow anyone to fetch data from a ftp
> site. I started with a start time and end time. The next step is to
> create a string array in order to generate the correct address for the
> ftp site.
>
> I think I need to create a for loop in order to this. This is where I
> hit the wall. How do you generate a string array in the format
> yyyymmdd with a given start time and end time?
You could look at the TimeStamp program from the Coyote
Library and see how a variety of time stamps were created
from time values. Since this is not one of the 12 formats
offered by the program, you could even figure out how
to do this and add the format as the 13th possible value,
thereby gaining fame and fortune as an IDL programmer!
http://www.idlcoyote.com/programs/timestamp.pro
It might take you five minutes to do. Probably less
time if you realize that format 12 is nearly what you
want to do. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Current Time: Fri Oct 10 01:45:57 PDT 2025
Total time taken to generate the page: 1.84111 seconds