Re: Strings

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

> Oh, and it looks like Euphoria *could* offer the programmer a way to chec=
k whether a variable has been initialized.

I proposed this a while ago. I believe object() should return true for
initialized, and false for unitinialized, like this:

sequence s

    if not object( s ) then
        -- not initialized!
        s = {}
    end if


~Greg

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

Search



Quick Links

User menu

Not signed in.

Misc Menu