Search found 143 matches

by johu
Sat Jul 24, 2010 11:39 pm
Forum: Whither newLISP?
Topic: Idea for MAP function
Replies: 2
Views: 3035

Re: Idea for MAP function

I thought some functions. (define (map+ func lst bool) (if bool (apply = (map func lst)) (map func lst)) ) (define (map-compare func lst value) (apply = (cons value (map func lst))) ) (define (map-predicate func lst bool) (if bool (for-all func lst) (map func lst)) ) Which is corresponding ? or anot...
by johu
Fri May 21, 2010 11:13 pm
Forum: newLISP newS
Topic: newLISP stable maintenance release 10.2.8
Replies: 11
Views: 6607

Re: newLISP stable maintenance release 10.2.8

Thank you, Lutz.

I finished translating Function Reference into Japanese.

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

This version is v.10.2.8 rev 1.
by johu
Fri May 21, 2010 10:04 am
Forum: newLISP newS
Topic: newLISP stable maintenance release 10.2.8
Replies: 11
Views: 6607

Re: newLISP stable maintenance release 10.2.8

Always, thank you for the great work, Lutz. I start to translate Function Reference of this version into Japanese. And I found some mistakes. net-sessions There is a display twice. Error codes <table summary=" tcp/ip error codes"> <tr align="left"><th>description</th><th>no</th></tr> <tr><td>not eno...
by johu
Wed May 19, 2010 9:07 am
Forum: newLISP Graphics & Sound
Topic: about GUI functions manual
Replies: 6
Views: 10393

Re: about GUI functions manual

In GUI functions source, some comments have mistakes.

;; @param Mstr-description> An optional mask description.
;; @param <str-description> An optional mask description.

;; @syntax (gs:eva-shell <sym-id-text-area> <str-command>)
;; @syntax (gs:eval-shell <sym-id-text-area> <str-command>)
by johu
Mon May 17, 2010 9:45 am
Forum: newLISP in the real world
Topic: Script for newLISP Function Reference Viewer.
Replies: 5
Views: 2952

Re: Script for newLISP Function Reference Viewer.

Sorry, Back-Button version has bug.

Search-button without search word enables Back Button.

Corrected version is here:
http://cid-23a9a25e1aec3626.skydrive.li ... P-help.zip
by johu
Sun May 16, 2010 9:27 am
Forum: newLISP in the real world
Topic: Script for newLISP Function Reference Viewer.
Replies: 5
Views: 2952

Re: Script for newLISP Function Reference Viewer.

Thank you, cormullion. I bear Cormullion's Corollary in mind. Thanks for request, itistoday. I added Back button. And deleting the search string brings back, but with return key. An updated version is here: http://cid-23a9a25e1aec3626.skydrive.live.com/self.aspx/.Public/newLISP-help.zip Is it suitab...
by johu
Fri May 14, 2010 9:16 am
Forum: newLISP in the real world
Topic: Script for newLISP Function Reference Viewer.
Replies: 5
Views: 2952

Script for newLISP Function Reference Viewer.

I make newLISP Function Reference and GUI Fuction Reference Viewer. ScreenShot is here .(Japanese blog. 日本語の使い方もこちらで。) Download URL is http://cid-23a9a25e1aec3626.skydrive.live.com/self.aspx/.Public/newLISP-help.zip Usage: newlisp newLISP-help.lsp [directory | -URL | -URL=xxx.html] [yyy.ini] [zzz.hl...
by johu
Thu May 13, 2010 1:27 pm
Forum: newLISP Graphics & Sound
Topic: about GUI functions manual
Replies: 6
Views: 10393

Re: about GUI functions manual

In GUI functions Manual & Index,

gs:eva-shell -> gs:eval-shell
by johu
Wed May 12, 2010 8:52 am
Forum: newLISP in the real world
Topic: A case of the function find with regular expressions.
Replies: 1
Views: 1071

A case of the function find with regular expressions.

newLISP v.10.2.1 on Win32 IPv4, execute 'newlisp -h' for more info. > (regex "b+" "AAAABBBAAAA" 1) ("BBB" 4 3) > (find "b+" "AAAABBBAAAA" 1) 4 > (let (op 1) (regex "b+" "AAAABBBAAAA" op)) ("BBB" 4 3) > (let (op 1) (find "b+" "AAAABBBAAAA" op)) ERR: value expected in function find : op > Maybe since...
by johu
Tue May 11, 2010 9:11 am
Forum: newLISP newS
Topic: Manual Notes 10.2.1
Replies: 37
Views: 19541

Re: Manual Notes 10.2.1

Thank you very much, Lutz.

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

http://cid-23a9a25e1aec3626.skydrive.li ... -10201.zip
by johu
Mon May 10, 2010 9:09 am
Forum: newLISP newS
Topic: Manual Notes 10.2.1
Replies: 37
Views: 19541

Re: Manual Notes 10.2.1

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...
by johu
Sun May 09, 2010 9:04 am
Forum: newLISP newS
Topic: Manual Notes 10.2.1
Replies: 37
Views: 19541

Re: Manual Notes 10.2.1

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 argume...
by johu
Mon May 03, 2010 8:41 am
Forum: newLISP newS
Topic: Manual Notes 10.2.1
Replies: 37
Views: 19541

Re: Manual Notes 10.2.1

Last time, I made a mistake in inf?. inf? See also NaN? to check is a floating point number is valid. See also NaN? to check if a floating point number is valid. And, this time. now Am optional list-index in int-index makes now return a specific member in the result list. An optional list-index in i...
by johu
Wed Apr 28, 2010 9:43 am
Forum: newLISP newS
Topic: Manual Notes 10.2.1
Replies: 37
Views: 19541

Re: Manual Notes 10.2.1

inf? See also A to check is a floating point number is valid. See also A to check if a floating point number is valid. let See also letn for an incremental or nested form of let. See also letn for an incremental or nested form of let and local for initializing to nil . Maybe, better ? letex This fu...
by johu
Mon Apr 26, 2010 9:15 am
Forum: newLISP newS
Topic: Manual Notes 10.2.1
Replies: 37
Views: 19541

Re: Manual Notes 10.2.1

find Find an expression in a list If the first argument is a string, a regular expression option can be specified with int-regex-option and optionally an int-offset parameter. If the first argument is a string, a regular expression option can be specified with int-regex-option parameter. Because, s...
by johu
Thu Apr 22, 2010 8:46 am
Forum: newLISP newS
Topic: Manual Notes 10.2.1
Replies: 37
Views: 19541

Re: Manual Notes 10.2.1

clean (with the list option ). (with the list mode ). from difference. intersect In the second syntax, In the second syntax, intersect works in list mode. from difference. difine-macro A third possibility is to refer to passed parameters using args: A second possibility is to refer to passed parame...
by johu
Sat Apr 17, 2010 1:23 am
Forum: newLISP newS
Topic: Search through a list of alists -- bug found?
Replies: 3
Views: 3587

Re: Search through a list of alists -- bug found?

newLISP v.10.2.1 on Win32 IPv4, execute 'newlisp -h' for more info. > (setq la '(((k0 v0) (k1 v1)) ((k2 v2) (k3 v3)) ((k4 v4) (k5 v5)))) (((k0 v0) (k1 v1)) ((k2 v2) (k3 v3)) ((k4 v4) (k5 v5))) > (dolist (x la (assoc 'k3 x)) (println $idx ": " x)) 0: ((k0 v0) (k1 v1)) ? > (dolist (x la (lookup 'k3 x...
by johu
Fri Apr 16, 2010 9:17 am
Forum: newLISP newS
Topic: Manual Notes 10.2.1
Replies: 37
Views: 19541

Re: Manual Notes 10.2.1

I have some suggestion. +, -, *, / ,% For floating point values that evaluate to <tt>NaN</tt> (Not a Number), both <tt>+INF</tt> and <tt>-INF</tt> are treated as <tt>0</tt> (zero). Floating point values that evaluate to NaN is treated as <tt>0</tt> (zero), and both <tt>+INF</tt> and <tt>-INF</tt> ar...
by johu
Thu Apr 15, 2010 9:11 am
Forum: newLISP Graphics & Sound
Topic: about GUI functions manual
Replies: 6
Views: 10393

about GUI functions manual

In GUI functions Manual , some parameters missing. gs_color-dialog <b>parameter: </b><float-blue - The initial blue color component.<br/> <b>parameter: </b><em>float-blue</em> - The initial blue color component.<br/> split-pane <b>parameter: </b><int-divider-size) - The optional size of the draggabl...
by johu
Wed Apr 14, 2010 10:17 am
Forum: newLISP newS
Topic: Manual Notes 10.2.1
Replies: 37
Views: 19541

Re: Manual Notes 10.2.1

I have one question. 4. Functions in alphabetical order +, -, *, / ,% For floating point values that evaluate to NaN (Not a Number), both +INF and -INF are treated as 0 (zero). I think that this sentence means the following: > (sqrt -1) nan > (+ (sqrt -1)) 0 > (mul 1e308 10) inf > (+ (mul 1e308 10))...
by johu
Wed Apr 14, 2010 9:56 am
Forum: newLISP newS
Topic: Manual Notes 10.2.1
Replies: 37
Views: 19541

Re: Manual Notes 10.2.1

3. Functions in groups List processing, flow control and integer arithmetic There are not if-not and pop-assoc . do-until repeats evaluation of an expression until the condition is met repeats evaluation of a block of statements until the condition is met do-while repeats evaluation of an expressio...
by johu
Tue Apr 13, 2010 9:04 am
Forum: newLISP newS
Topic: Manual Notes 10.2.1
Replies: 37
Views: 19541

Re: Manual Notes 10.2.1

In newlisp_index.html Floating point math and special functions <a href="newlisp_manual.html#gammaln" target="body"> atan </a><br /> <a href="newlisp_manual.html#gammaln" target="body"> gammaln </a><br /> There are not array , array-list , uuid . Array functions There is not slice . Input/output an...
by johu
Tue Apr 06, 2010 1:53 pm
Forum: newLISP newS
Topic: Manual Notes 10.2.1
Replies: 37
Views: 19541

Re: Manual Notes 10.2.1

Thank you very much, Lutz.

My blog title is OK, but a link is the following:

http://johu02.spaces.live.com/?_c11_Blo ... cat%3dLISP


This is the part of lisp in my blog.
by johu
Tue Apr 06, 2010 9:01 am
Forum: newLISP newS
Topic: Manual Notes 10.2.1
Replies: 37
Views: 19541

Re: Manual Notes 10.2.1

1. Syntax of symbol variables and numbers
Symbols for variable names
Numbers


As described above, scientific notation starts with a floating point number
As described below, scientific notation starts with a floating point number

Maybe.
by johu
Mon Apr 05, 2010 11:27 am
Forum: newLISP newS
Topic: Manual Notes 10.2.1
Replies: 37
Views: 19541

Re: Manual Notes 10.2.1

In newlisp_index.html , plese add " explode " to " List processing, flow control and integer arithmetic ". And, pretty-print (pretty-print 90 "\t") → (90 "\t") (pretty-print 90 "\t") → (90 "\t" "%1.10g") (pretty-print 100) → (100 "\t") (pretty-print 100) → (100 "\t" "%1.10g") The first example repor...