1. Those 2.1 things in 2.0 like reverse.

Useful Routines 24K     Mathew Hounsell updated Apr 4/99
Mathew Hounsell wrote these routines for memory addressing, file path
      manipulation, date
validation, finding elements, program information, sequence manipulation,
      benchmarking and
determining an objects size, as well as constants for BIOS fixed
      addresses.
      http://members.wbs.net/homepages/f/i/l/fileseu/cil.zip

Part of the reason I created this library was to supply some of the 2.1 things
in 2.0
compatible code. Like sprint and reverse.

Also this reverse is the fastest I have made.

global function reverse(sequence s)
integer tt
object el

    tt = length( s )
    for t = 1 to floor( tt/2 ) do
        el = s[t]
        s[t] = s[tt]
        s[tt] = el

        tt = tt - 1
    end for
    return s
end function
-------------------------
Sincerely,
Mathew Hounsell

mat.hounsell at excite.com

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu