Ahmeds Posted November 26, 2013 Share Posted November 26, 2013 Is there anyone of you good guys have the code for this problem? May I ask to share please. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
pBe Posted November 26, 2013 Share Posted November 26, 2013 It easy Ahmeds, Tell us more. What is the intent after retrieving the contents of the text file? Are you wanting to use it as a whole? or line by line? Lets say the contents is like this: Today is raining cats and dogs. Yesterday is just another day in paradise Both lines 1 & 2 is assigned to a variable or one element on a list ("Today is raining cats and dogs. Yesterday is just another day in paradise") or ("Today is raining cats and dogs." "Yesterday is just another day in paradise")? Quote Link to comment Share on other sites More sharing options...
Ahmeds Posted November 26, 2013 Author Share Posted November 26, 2013 Thanks pBe, I prefer to get to know both 1 & 2 method, just to have reference on my further use. Quote Link to comment Share on other sites More sharing options...
wkplan Posted November 26, 2013 Share Posted November 26, 2013 take a look here: http://www.beowolftech.com/lispgen/examples.html look for file2txt.lsp Quote Link to comment Share on other sites More sharing options...
MSasu Posted November 26, 2013 Share Posted November 26, 2013 Ahmeds, I suggest you to follow this tutorial from AfraLISP to become familiar with files access. Quote Link to comment Share on other sites More sharing options...
Ahmeds Posted November 27, 2013 Author Share Posted November 27, 2013 Thank you very much... Muchos Gracias... Maraming Salamat po... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.