🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98387

Documentation

#98387
From: squash
Date: Wed, 24 Jul 1991 16:07
18 lines
1005 bytes
Using:
 "GNU Emacs 18.55.7 of Tue Dec 11 1990 on shadrach (berkeley-unix)"

Documentation mentions a second argument to:
 string-to-int:
 Convert STRING to an integer by parsing it as a decimal number.
 Optional second arg FLAG non-nil means also convert "yes" to 1, "no" to 0.

When I try 

 (string-to-int "yes" t)

in Emacs-lisp mode, an error is signaled.  However

 (string-to-int "yes")
 1

signals no error.		--Jonathan  squash@math.ufl.edu
Technical Details
Message-ID: <9107241607.AA00923@poincare.math.ufl.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!math.ufl.edu!squash

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,707dd8a59dae36c9,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-07-25 01:40:54 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!math.ufl.edu!squash
From: squash@math.ufl.edu
Newsgroups: gnu.emacs.bug
Subject: Documentation
Message-ID: <9107241607.AA00923@poincare.math.ufl.edu>
Date: 24 Jul 91 16:07:32 GMT
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 18
Approved: bug-gnu-emacs@prep.ai.mit.edu