On Feb 25, 2008, at 9:12 AM, Luis Mcdoguall wrote:
>> Luis Mcdoguall wrote:
>>> this code will yield : syntax error, unexpected $end, expecting kEND
>>> Any explanation will be appreciated.
>>
> hmm!!??
> Thanks Sebastian
> I will keep investigating then.
>
> -L

$end means the end of file
kEND means the 'end' keyword

So the error message is saying:  "Hey, I ran out of code when I still  
expected to see an 'end' to close a block ('do'), 'if', 'for',  
'while', etc."

-Rob

Rob Biedenharn		http://agileconsultingllc.com
Rob / AgileConsultingLLC.com