------ art_77405_10588403.1178554388296 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline You are using an editor with proper syntax highlighting right? With vim, my method, module, and class begin/do/end keywords are purple, while all other block keywords are yellow. Makes it very easy to see if I missed a method end or a block end. Jason On 5/7/07, anansi <kazaam / oleco.net> wrote: > > Evan Light wrote: > > Sorry. Neglected to provide the literal answer to your question. > > Because of the incorrect placement of "end"s, your definition of > > "scanning" actually occurred within another one of your method > > definitions. I hadn't tried that before but, unsurprisingly, it has > > the net effect of making your "method within a method" private. > > > > hi, > many thanks !! now I could fix it with your help (there was a further > "end"-mistake in the output routine..) but do you know any tricks or > meassures to avoid these deep nestings while coding or keep track of the > begins and ends of ones code? > > -- > greets > > ( > ) > ( > /\ .-"""-. /\ > //\\/ ,,, \//\\ > |/\| ,;;;;;, |/\| > //\\\;-"""-;///\\ > // \/ . \/ \\ > (| ,-_| \ | / |_-, |) > //`__\.-.-./__`\\ > // /.-(() ())-.\ \\ > (\ |) '---' (| /) > ` (| |) ` > jgs \) (/ > > > one must still have chaos in oneself to be able to give birth to a > dancing star > > ------ art_77405_10588403.1178554388296--