About "Code Patterns in newLISP"

Q&A's, tips, howto's
Locked
johu
Posts: 143
Joined: Mon Feb 08, 2010 8:47 am

About "Code Patterns in newLISP"

Post by johu »

Hello, Lutz.

I have translated "Code Patterns in newLISP" to Japanese and I'm reviewing it.
Now I have some suggestion.

Evaluating remotely
The parameter p is nil when no result was received during the last 100 micro seconds,
The parameter p is nil when no result was received during the last 1000 micro seconds,

maybe.


CGI processing in HTTP mode
extract or set cookies amd other useful routines
extract or set cookies and other useful routines


Unevenly aligned structures
return(&data);
return(&data);

There are two places.

Thanks,

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

Re: About "Code Patterns in newLISP"

Post by Lutz »

Thanks Johu, corrections are online here:

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


Ps: 1000 milli seconds

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

Re: About "Code Patterns in newLISP"

Post by johu »

Thank you, Lutz.
And I found some points to be corrected when reviewing.

<li>'push' and 'pop'</li>
<li>Accessing lists</li>

<li>'push' and 'pop'</li>
<li>'extend'</li>
<li>Accessing lists</li>


Using 'net-peek'
'net-peek returns the number of characters pending to read.
(delete a apostrophe ahead of net-peek)
net-peek returns the number of characters pending to read.


Nested associations
See the users manual chapter "17. Object Oriented Programming in newLISP" for details.
See the users manual chapter "18. Functional-object oriented programming" for details.

maybe


Transferring files
The <tt>-read-file</tt> function returns the contents received.
(delete a hyphen ahead of read-file)
The <tt>read-file</tt> function returns the contents received.

Regards,

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

Re: About "Code Patterns in newLISP"

Post by Lutz »


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

Re: About "Code Patterns in newLISP"

Post by johu »

Thank you, Lutz.

I finished to translate "Code Patterns in newLISP" into Japanese.
http://cid-23a9a25e1aec3626.office.live ... 110411.zip

And I'm sorry,, I forgot to show a point to be corrected.

Pre-processing the request
<pre>newlisp httpd-conf.lsp -http -d 80 -w /home/www &amp;
</pre>
<pre>newlisp httpd-conf.lsp -http -d 80 -w /home/www &
</pre>

Regards,

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

Re: About "Code Patterns in newLISP"

Post by Lutz »

Thanks Joh, online now here:

http://www.newlisp.org/CodePatterns-jp.html

and also linked from the documentation page.

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

Re: About "Code Patterns in newLISP"

Post by johu »

Thanks Lutz for the online.

Locked