regarde et apprend, watch and listen

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

I have comments below, but first...

function ltrim(sequence string)
    if string[1] =3D ' ' then string =3D string[2..length(string)]
        else return string
    end if
    ltrim(string)
end function

function rtrim(sequence string)
    if string[length(string)] =3D ' ' then
    string =3D string[1..length(string)-1]
        else return string
    end if
    ltrim(string)
end function

Euphoria is good.  Just ask, I was put in awe at first because I thought
Euphoria couldn't do something, but its always proven me wrong.  In QBasi=
c,
Q stands for Quirk.  QuirkBasic has many quirks.  I'm taking a high schoo=
l
class on it, so I should know.  Look at the for...next loops and variable=

initializations, to name a few.  I'm not saying Euphoria is perfect,
absolutely not.  But its better than QBasic.

--Alan
  =

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

Search



Quick Links

User menu

Not signed in.

Misc Menu