Question: How to read in a .txt file?

I went to a particular website where I downloaded Maple programs in .txt files.

If I open the files and cut and paste the .txt into a Maple worksheet,

a > is inserted at the start of every line. It would take forever to delete each of these

>'s from the start of each line in a program with 500 lines.  Someone suggested that I put the command

read C:\\filename.txt

into my Maple worksheet. But, this - and many variations, with and without single quotes, file extensions, etc. - does not work.

Any suggestions?

By the way: I never expect more than 1% of suggestions and help with computer programming ever to work. That's about the average. That's just the way computers and their software are made.

Please Wait...