Re: FIXED - Right()

new topic     » goto parent     » topic index » view thread      » older message » newer message

Well, sorrrrry.

On Sat, 17 Oct 1998 15:55:01 -0700 Hawke <mdeland at NWINFO.NET> writes:
>Ad Rienks wrote:
>> Matt, is this what you mean?
>> function right(sequence s, integer i)
>>     return s[length(s)-i+1..length(s)]
>> end function
>
>Matt wrote:
>>no, this is the code for right():
>>global function right(object raw,integer bytes) --Sep 98
>>--I made this one
>>object new,tmp
>>new=""
>>tmp=""
>>for z= length(raw) to length(raw)-bytes+1 by -1 do
>>    new=new&raw[z]
>>end for
>>for z= length(new) to 1 by -1 do
>>    tmp=tmp&new[z]
>>end for
>>new=tmp
>>return new
>>end function
>
>Matt, before you alienate everyone that has tried
>to show you patience, understanding, and respect
>for your ignorance, (which is not a bad thing,
>stupidity is) I would suggest that you not post
>again until you look at the above two posts.
>
>Ad was trying to help you, and you were rude in
>your reply to him.
>
>How were you rude? You didn't respect his intelligence
>by sitting down and reading his post until you
>*understood* that post.  Had you *understood* his
>post, you would have seen that his solution to
>the 'right()' function accomplished what you desired
>while simultaneously being far more elegant, much faster,
>more concise, easier to read and easier to maintain.
>
>Instead, you promptly replied in such a manner as
>to swiftly place your foot betwixt your palate and
>your chin.
>
>Personally, I think you owe Ad an apology,
>and I think you need to contemplatively cogitate
>concurrent with composition.
>
>Lurk  before you leap,  understand before you utter;
>glean before you grate, revere     before you repulse.
>
>--Hawke'
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu