<div dir="ltr">If this code is used by thousands of people, it also fails for thousands of people.  I have had two Smalltalk jobs plus ran a Smalltalk SIG so I'm not in need of humility on Smalltalk unless and until you can show me my mistake.  I even tried copying the file access code used by the file list tool and that did not work either.  So I suspect it is a bad version of the VM.  <div><br></div><div>I will try to locate an older version to confirm.  It is amazing how many commentators fail to even try out the code to confirm or refute my discovery BEFORE providing commentary.  Is that true humility?</div><div> <div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 22, 2017 at 8:22 AM, Frank Shearar <span dir="ltr"><<a href="mailto:frank.shearar@gmail.com" target="_blank">frank.shearar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><div class="h5"><div><div class="gmail_extra"><div class="gmail_quote">On Jul 20, 2017 21:14, "ReliableRobots.com" <<a href="mailto:reliablerobots@gmail.com" target="_blank">reliablerobots@gmail.com</a>> wrote:<br type="attribution"><blockquote class="m_-7643663281168647859quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I ran this program and nothing happened so I added self halts and learned it can't even read the input file!  Yet the File List tool reads it.  Such dichotomy in behavior might be covered by a preference?  I know MS Notepad, the simplest editor now allows one to store a file in ones's choice of formats.  Does Squeak have a simple choice for input treatments that works in Win10?<div><br></div><div><div>do</div><div><span style="white-space:pre-wrap">      </span>"Read a Bible file, reformat for beter readability and html standards."</div><div><span style="white-space:pre-wrap">                </span>| inPath ootPath inFIle outFile line words |</div><div><span style="white-space:pre-wrap">     </span>inPath := 'C:\Users\Owner\Desktop\Websit<wbr>e\Jesus Words\Matthew.html'.</div><div><span style="white-space:pre-wrap">  </span>ootPath := 'C:\Users\Owner\Desktop\Websit<wbr>e\Jesus Words\Matthew2.html'.</div><div><span style="white-space:pre-wrap">        </span>inFIle := FileStream oldFileNamed: inPath.</div><div><span style="white-space:pre-wrap">       </span>outFile := FileStream newFileNamed: ootPath.</div><div><span style="white-space:pre-wrap">     </span>self halt.</div><div><span style="white-space:pre-wrap">       </span>[(line := inFIle nextLine) notNil</div><div><span style="white-space:pre-wrap">        </span>whileTrue:[</div><div><span style="white-space:pre-wrap">                      </span>words := line substrings.</div><div><span style="white-space:pre-wrap">                        </span>self halt.</div><div><span style="white-space:pre-wrap">                       </span>words size >0 ifTrue:[</div><div><span style="white-space:pre-wrap">                        </span>outFile nextPutAll: line, '<br>'; cr; lf].</div><div><span style="white-space:pre-wrap">         </span>]].</div><div><span style="white-space:pre-wrap">      </span>inFIle close.</div><div><span style="white-space:pre-wrap">    </span>outFile close.</div></div><div><br></div><div><br></div><div>It is my observation that Squeak is the last gasp uttered by a mouse when it fears death.  It is not a normal sound they make unless they are being eaten by a Python!   I hope the Python people don't release code that simply doesn't work.</div></div></blockquote></div></div></div><div dir="auto"><br></div></div></div><div dir="auto">I too am often frustrated by code that will just not work. When I wish to blame the libraries I use, I end up asking myself "how likely is it that the bug is in my code, written by a single frail, weak human, versus a big in code used every day, in anger, by thousands of people?" I am hardly humble, but this thought does help me at least try to practice humility. It is almost always the case that the error end up being mine.</div><span class="HOEnZb"><font color="#888888"><div dir="auto"><br></div><div dir="auto">frank</div><div dir="auto"></div></font></span></div>
<br><br>
<br></blockquote></div><br></div>