To Robert Craig ... help !!!
- Posted by Les Rogers <selgor1 at verizonmail.com> Feb 09, 2007
- 482 views
Rob, Amid all your woes comes another one. BUT U CAN SOLVE I AM SURE >> !! Please ...... how do I get code to recognise gets() input. ? include get.e include file_ln.e constant SCREEN = 1 constant KEYBRD = 0 constant TRUE=1 sequence line,name object exit_code atom w puts(SCREEN, "Enter your Directory name here: ") line = gets(KEYBRD) -------------------- CAN I GET THIS BESIDE "c:\\" below ??? print(SCREEN, line) puts(SCREEN, line[1..$-1]) puts(SCREEN, line) clear_screen() name=line printf(1,"%s",{name}) w=wait_key() function look_at(sequence path_name,sequence entry) printf(1,"%s\\%s: %d\n\t\t",{path_name,entry[D_NAME], entry[D_SIZE]}) return 0 end function exit_code = walk_dir("c:\\" , routine_id("look_at"), TRUE) w=wait_key() get the "c:\\" to accept my input of gets() ???? like ................ "c:\\" & my input ... hope you can help. sometime ???? cheers les.r.