On Wednesday 28 September 2005 20:55, gustav@xxxxxxxxxxxxxx wrote: > I have a lot of experience in programming, but WHAT command do I use
> for checking if a file exists... Have searched google, but can't seem
> to find any good answers...
if (-e "/tmp/myfile") {
print "File! :)\n";
} else {
print "No file! :(\n";
}
--
Robin <robin@xxxxxxxxxxxxxxx> JabberID: <eythian@xxxxxxxxxxxxxxxxxxxxxx>
Case function ... Does Excel have a function similar to the "Case" command in other programming...Prev by Date: ... (microsoft.public.excel.misc)
File Existance ... I have a lot of experience in programming, but WHAT command do I use for ... Have searched google,...Prev by Date: ... (perl.beginners)
Command Button question ... I'm fairly new at XL programming and I need a bit of help. ... I have a worksheet that contains, among other things, 5 command Buttons. ...Prev by Date: ... (microsoft.public.excel.programming)
Re: Wordsearch:AI Insanity ...bios, what with being hard-coded and all. ... Stop with an error message.... an undefined command or something, so what happens depends entirely on ... So it's programmed to alter its own programming depending on input? ... (rec.arts.sf.composition)
Re: Great SWT Program ... And, of course, none of the nasty things that you have said or implied ... such rot and squeezing out Java programming related traffic with emacs... I didn't claim that they could not learn a load of programming skills... bit is the entire command but is only part of the full command line, ... (comp.lang.java.programmer)