Re: re prompt_string To Chris Bensler..NO print output !

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu