Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #13088

Re: When a random file is not found then what?

From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.php
Subject Re: When a random file is not found then what?
Date 2014-03-07 22:56 -0500
Organization A noiseless patient Spider
Message-ID <lfe4ct$o1k$1@dont-email.me> (permalink)
References <1668mopewczco.c3whop265tfe.dlg@40tude.net>

Show all headers | View raw


On 3/7/2014 10:22 PM, richard wrote:
> I want to set up a routine so that when a file does not exist, another file
> is selected.
>
> 1) select the year randomly.
> 2) selectt one of 100 numbers.
> 3) combine the pair.
> 4) locate file and play.
> 5) if file does not exist, do it again until one is found.
>
> My thinking is, create an array of file names.
> Then cycle through that until a match is found.
>
> Any other ways?
>

On a clear disk, you can seek forever...

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

When a random file is not found then what? richard <noreply@example.com> - 2014-03-07 22:22 -0500
  Re: When a random file is not found then what? Jerry Stuckle <jstucklex@attglobal.net> - 2014-03-07 22:56 -0500
  Re: When a random file is not found then what? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-03-08 04:03 +0000
    Re: When a random file is not found then what? richard <noreply@example.com> - 2014-03-08 08:47 -0500
    Re: When a random file is not found then what? Jerry Stuckle <jstucklex@attglobal.net> - 2014-03-08 09:16 -0500

csiph-web