Re: Newbie very confused
- Posted by crusty Mar 17, 2009
- 1290 views
Matt, I have run from the command line. and double click on the file name and clicking on ex.exe and entering the file name when asked to do so and from a dos envirinment. and using the 'run' tab in my editor!
In an effort to be brief I haven't explained myself very well.
When I run a file, say csort.ex, (however I do it!) the dos box flashes on the screen and then closes.
Inspecting the file (say csort.ex) it is clear why this should be. Once the file has executed the dos box closes. There's nothing to prevent it. Some files such as queen.ex do run correctly because they wait for the user to press a key. csort.ex doesn't.
As examples to help the beginner, files such as hello.ex and csort.ex are quite useless.
I can make them halt execution and leave a visible 'box' by adding include get.e at the head of the file and
k= wait_key() at the end of the file.
BUT, it's absurd to find example files (for newbies?) that run but don't leave a dos box visible to the user. SO, I assumed that I must be missing something and hence my cry for help.
sanity.ex DOES work and tells me that PASSED is 100%!
I have downloaded David Gay's tutorial and Refman. Frankly, comparing them with my old 'C' programming manual and a more up to date PHP manual, they aren't very good are they? If Euphoria is to become more popular, then the documentation needs considerable improvement don't you think?
Even the consolidated download of Euphoria, win32lib doesn't put the files in the correct folders! I had to duplicate several of the *.e files because the EX.ERR file tole me they couldn't be found in the expected folders. It could put a begginer off don't you think. Actually, I intend to delete the lot and start again.
If anyone is interested in my opinion, particularly the writer of REFMAN, I'd be happy to put in my two penny's worth.
Thanks everyone. Miserable old Crusty