Manual Notes 10.2.1

Notices and updates
kanen
Posts: 145
Joined: Thu Mar 25, 2010 6:24 pm
Contact:

Re: Manual Notes 10.2.1

Post by kanen »

In the manual;
member

syntax: (member exp list)
syntax: (member str str-key [num-option])
Shouldn't this be:
syntax: (member str-key str [num-option])
Because the format is actually;

(member "f" "a b c d e f")

Where "f" is the key to search for and "a b c d e f" is the string.

Or, does str-key mean something different in this case?
. Kanen Flowers http://kanen.me .

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Re: Manual Notes 10.2.1

Post by Lutz »

Thanks Kanen, the correction is online in rev. 16 of the manual:

http://www.newlisp.org/downloads/newlisp_manual.html

xytroxon
Posts: 296
Joined: Tue Nov 06, 2007 3:59 pm
Contact:

Re: Manual Notes 10.2.1

Post by xytroxon »

Contents
User Manual
...
15. Contexts
* Symbol creation in contexts
* Creating contexts -> anchor not found

Change <a href="#scope_context">
To <a href="#creating_contexts">

=====================

Spelling:

acccesses - accesses
addtionally - additionally
comforms - conforms
datatype - data type
insteead - instead
notaion - notation
obkject - object
parameteri -parameter
parsig - parsing
pont - point

-- xytroxon
"Many computers can print only capital letters, so we shall not use lowercase letters."
-- Let's Talk Lisp (c) 1976

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Re: Manual Notes 10.2.1

Post by Lutz »

Thanks Xytroxon, changes are onlinein rev. 17

http://www.newlisp.org/downloads/newlisp_manual.html

johu
Posts: 143
Joined: Mon Feb 08, 2010 8:47 am

Re: Manual Notes 10.2.1

Post by johu »

write

If int-size is not specified, all data in sym-buffer or str-buffer is written.
If int-size is not specified, all data in str-buffer is written.

or

syntax: (write int-file str-buffer|sym-buffer [int-size])
syntax: (write str str-buffer|sym-buffer [int-size])


write-line

When the string argument is omitted write-line writes the contents of the last read-line to int-file
When the string argument is omitted write-line writes the contents of the last read-line to int-file.


Predefined variables and functions.

Two of them are used as namespace templates, one two write platform independent code.
Two of them are used as namespace templates, one to write platform independent code.

See the chapter Hash functions and dictionaries foe details.
See the chapter Hash functions and dictionaries for details.


By the way,
I finished to translate the section of Function Reference in newLISP User Manual into Japanese.

http://cid-23a9a25e1aec3626.skydrive.li ... -10201.zip

This version is v.10.2.1 rev 17.

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Re: Manual Notes 10.2.1

Post by Lutz »

Thank you very much Johu! You have done a great work with this, and the Japanese translation will help, to make newLISP more popular in Japan.

I would like to put the bilingual Japanese version of the function reference (without the "Users Manual") on the documentation section on newlisp.org. How would you translate the title "newLISP Function Reference" into Japanese?

ps: the corrections will go online later today.

xytroxon
Posts: 296
Joined: Tue Nov 06, 2007 3:59 pm
Contact:

Re: Manual Notes 10.2.1

Post by xytroxon »

Spelling (again ;p)

Acccesses - Accesses
Addtionally - Additionally
Insteead - Instead

I have posted these words (several times) before (in lowercase), we must of had a case sensitively mismatch ;p)

----------

For each function definition you have: <h2><span class="function">

There are two more places:

<div class="license">
<a name="GNUFDL"></a>
<center>
<h2><span class="function">GNU Free Documentation License</span></h2>

-------------------

<a name="GNUGPL"></a>
<center>
<h2><span class="function">GNU GENERAL PUBLIC LICENSE</span></h2>

--------------

Could you change these to:

<h2><span class="any name besides function">GNU...
(Or a shorter, smarter name ;P)

This change would be helpful in parsing the xhtml to be able to extract all "functions" without including what should be "license" sections...

-- xytroxon
"Many computers can print only capital letters, so we shall not use lowercase letters."
-- Let's Talk Lisp (c) 1976

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Re: Manual Notes 10.2.1

Post by Lutz »

Thanks Xytroxon, new versions online here for 10.2.1:

http://www.newlisp.org/downloads/newlisp_manual.html

and here for 10.2.6:

http://www.newlisp.org/downloads/develo ... anual.html

johu
Posts: 143
Joined: Mon Feb 08, 2010 8:47 am

Re: Manual Notes 10.2.1

Post by johu »

Thanks Lutz.

I think that "newLISP Function Reference" is "newLISP 関数リファレンス" in Japanese.
I thought that the title may be acceptable in English.
Actually, my translation didn't translate the title (i.e. <h1>, <h2> or <h3> tags) or some description of tables.

If necessary, I will translate these.

And I updated the Japanese translation into rev 18.

http://cid-23a9a25e1aec3626.skydrive.li ... -10201.zip

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Re: Manual Notes 10.2.1

Post by Lutz »

Thanks Johu.

newLISP 関数リファレンス (Japanese translation of the Function Reference) is now online here:

http://www.newlisp.org/newlisp_reference-10201-jp.html

and also referenced from the documentation page:

http://www.newlisp.org/index.cgi?Documentation

johu
Posts: 143
Joined: Mon Feb 08, 2010 8:47 am

Re: Manual Notes 10.2.1

Post by johu »

Thank you very much, Lutz.

And I updated the Japanese translation into rev 19 with some correcting.

http://cid-23a9a25e1aec3626.skydrive.li ... -10201.zip

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Re: Manual Notes 10.2.1

Post by Lutz »


xytroxon
Posts: 296
Joined: Tue Nov 06, 2007 3:59 pm
Contact:

Re: Manual Notes 10.2.1

Post by xytroxon »

Code Patterms

17. Semaphores, shared memory

Allthough controlling processes

should be

Although controlling processes

-- xytroxon
"Many computers can print only capital letters, so we shall not use lowercase letters."
-- Let's Talk Lisp (c) 1976

Locked