Re: re prompt_string To Chris Bensler..NO print output !
- Posted by Chris Bensler <bensler at nt.net> Feb 02, 2007
- 582 views
Les Rogers wrote: > > > Chris, > > Below is the revised programme . > > There is no directory output just > asks for directory... prints the name ... > then here it is etc > > BUT, nothing more > > What have I left out ? > > I put > your code in ... but nothing out ? > <SNIP> > Try adding this: if atom( dir(name) ) then -- test if name exists puts(1,name&" is not a valid directory name or does not exist.\n") w = wait_key() abort(0) -- exit the program end if > exit_code = walk_dir(name,routine_id("look_at"),FALSE) > > w=wait_key() You will need to type a path name like c:\euphoria when the program asks you for the directory. Chris Bensler ~ The difference between ordinary and extraordinary is that little extra ~ http://empire.iwireweb.com - Empire for Euphoria