lua-users home
lua-l archive

Re: false [was: The "Is nil present in a table" problem]

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 2001年11月29日, John Belmonte wrote:
> Scheme is a pretty serious as far as languages go and it manages to get by
> with just a false type.
Scheme treats any non #f value as "true" in conditionals. But it has a
boolean type (as far as Scheme has any type), with two values: #t and #f.
(see Revised(4) Report on the Algorithmic Language Scheme, Section 6.1:
Booleans; or Revised(5)... Section 6.3.1)
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /