Search found 52 matches

by Maurizio
Wed Mar 23, 2016 3:15 pm
Forum: newLISP in the real world
Topic: Wrong number of grid columns
Replies: 3
Views: 4926

Wrong number of grid columns

The following program shows a frame with only 4 columns instead of 5. Is this a bug ? I'm trying with the last NewLisp version and java (jdk) 1.8.0_74. Best regards. Maurizio. (set-locale "C") (load (append (env "NEWLISPDIR") "/guiserver.lsp")) (gs:init) (gs:frame 'window 100 100 400 300 "my test") ...
by Maurizio
Fri May 25, 2012 2:50 pm
Forum: newLISP in the real world
Topic: Please make it portable
Replies: 3
Views: 2704

Please make it portable

I'd like very very very much if newlisp were portable. I mean : it should not depends on any environment variable. (why newlispdir ?) it should not have the need of a work directory (tmp directory in http mode) or, if really needed, a subdir of the starting directory, or, at least, a directory speci...
by Maurizio
Wed Oct 31, 2007 10:13 am
Forum: newLISP Graphics & Sound
Topic: Just a try (not converted) ;)
Replies: 10
Views: 8046

I didn't understand why the (gs:listen) call was needed in the signale-erreur procedure. After a little investigation I found what I think is a little problem : if you completely comment the body of signale-erreur, leaving only : (define (signale-erreur)), and then you enter an invalid value, the pr...
by Maurizio
Tue Oct 30, 2007 11:43 am
Forum: newLISP Graphics & Sound
Topic: Just a try (not converted) ;)
Replies: 10
Views: 8046

why it is needed the last line (gs:listen) of the procedure
signale-erreur ?

if I type a correct value the program flows out of
change-couleurs wihout calling gs:listen, and it continue to work.
Why it is needed in case of error ?

Regards

Maurizio
by Maurizio
Mon Sep 24, 2007 3:57 pm
Forum: newLISP Graphics & Sound
Topic: NewLisp Ide : problems with Ie 6.0
Replies: 5
Views: 6093

(sorry for the delay)
sure, Javascript is enabled.
Maurizio
by Maurizio
Thu Sep 20, 2007 8:19 am
Forum: newLISP Graphics & Sound
Topic: Suggestion about form layouts
Replies: 2
Views: 3599

Thank you very much.
Maurizio
by Maurizio
Wed Sep 19, 2007 2:19 pm
Forum: newLISP Graphics & Sound
Topic: Suggestion about form layouts
Replies: 2
Views: 3599

Suggestion about form layouts

Would be fine to have a chapter about laying out forms, better if with some example. I find the topic a little difficult. I'd like to build forms having a similar layout : Please enter your information: first name: XXXXXXXXXXXXXXX last name: XXXXXXXXXXXXXXX age: XXX OK CANCEL Please note he followin...
by Maurizio
Thu Sep 13, 2007 9:19 am
Forum: newLISP Graphics & Sound
Topic: NewLisp Ide : problems with Ie 6.0
Replies: 5
Views: 6093

I don't know if it is a related problem, but I've just noticed the following : I start the newlisp server, clicking on the desktop link, then I open Ie 6.0 and I call the initial page : http://127.0.0.1:8080 The first page appears, but IE shows a warning icon on the status bar. Double clicking on th...
by Maurizio
Tue Sep 11, 2007 9:45 am
Forum: newLISP in the real world
Topic: Problems with Dump ?
Replies: 2
Views: 2412

Thank you very much
Maurizio
by Maurizio
Mon Sep 10, 2007 10:37 am
Forum: newLISP Graphics & Sound
Topic: NewLisp Ide : problems with Ie 6.0
Replies: 5
Views: 6093

NewLisp Ide : problems with Ie 6.0

I've installed newLisp Ide in c:\programmi\newlisp (that is, I have a directory c:\programmi\newlisp\ide containing index.html, editor-frame.html, etc... I made a desktop link to start the server as the following : C:\Programmi\newlisp\newlisp.exe -httpd -d 8080 -w C:\Programmi\newlisp\ide I made a ...
by Maurizio
Mon Sep 10, 2007 9:31 am
Forum: newLISP in the real world
Topic: Problems with Dump ?
Replies: 2
Views: 2412

Problems with Dump ?

Just experimenting...
Seems that Dump interrupts dotimes evaluation

D:\Temp>newlisp
newLISP v.9.2.0 on Win32, execute 'newlisp -h' for more info.

> (dotimes (x 5) (dump 'a))
(4150824 69 4145160 4145160 4177016)
>

Regards
Maurizio
by Maurizio
Fri Sep 07, 2007 3:32 pm
Forum: newLISP and the O.S.
Topic: Building newLISP 9.2 from source -- missing header files?
Replies: 11
Views: 8230

I too am unable to compile NewLisp under win 2k this is what happens : any suggestions ? Regards Maurizio $ make mingw make -f makefile_mingw make[1]: Entering directory `/d/temp/newlisp-9.2.0' /MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 newlisp.c /MinGW/bin/gcc -Wall -pedantic ...
by Maurizio
Tue Aug 28, 2007 7:27 am
Forum: newLISP and the O.S.
Topic: Installation/starting directory
Replies: 13
Views: 8695

Thanks, this works,
but it would be better to have a system function that works
on all supported platforms, and upgrade all the examples
to work with such a function.

Regards.
Maurizio.
by Maurizio
Mon Aug 27, 2007 3:02 pm
Forum: newLISP and the O.S.
Topic: Installation/starting directory
Replies: 13
Views: 8695

it seems to return only "newlisp"

D:\Temp>newlisp
newLISP v.9.2.0 on Win32, execute 'newlisp -h' for more info.

> (main-args)
("newlisp")
> (main-args 0)
"newlisp"

Regards
Maurizio
by Maurizio
Mon Aug 27, 2007 8:17 am
Forum: newLISP and the O.S.
Topic: Installation/starting directory
Replies: 13
Views: 8695

Installation/starting directory

Would be fine to have a NewLisp function to get the running executable directory of newlisp.exe. The trick to query the environment variable PROGRAMFILES to get the installation directory, as shown in newlisp-edit.lsp, does not work if I install (for example) on another disk. Then it would be fine t...
by Maurizio
Fri Jul 27, 2007 3:28 pm
Forum: Anything else we might add?
Topic: error compiling newlisp
Replies: 1
Views: 1750

error compiling newlisp

It's the first time i'm trying to compile NewLisp (newlisp-9.1.10) I've mingw installed in c:\mingw so I modified makefile_mingw to adjust the paths. then I started make : this is the error: any suggestion ? regards Maurizio D:\Temp\NEWLIS~1.10>make mingw make -f makefile_mingw make[1]: Entering dir...
by Maurizio
Mon Jul 23, 2007 8:13 am
Forum: newLISP Graphics & Sound
Topic: cannot start demo
Replies: 15
Views: 11165

I'm trying now with NewLisp-edit-debug the sequence happens exactly as before : I start NewLisp-edit-debug : NewLisp NewLisp-edit-debug.lsp It shows a series of messages, the last is: "GUI-server connected" Then I can repeat the following sequence as long as I want : I click on the gui close button ...
by Maurizio
Mon Jul 23, 2007 7:38 am
Forum: newLISP Graphics & Sound
Topic: cannot start demo
Replies: 15
Views: 11165

I issued the previous message before reading about the debug version.
I'm now going to try it.
maurizio.
by Maurizio
Mon Jul 23, 2007 7:36 am
Forum: newLISP Graphics & Sound
Topic: cannot start demo
Replies: 15
Views: 11165

This is the sequence of events : I start NewLisp from a desktop link The gui appears, the little led dot is green, the bottom windows is empty, Task Manager reports two instances of NewLisp and one of Java. 1) I click on the close button of the window. The little led dot goes yellow, a popup box app...
by Maurizio
Fri Jul 20, 2007 3:42 pm
Forum: newLISP Graphics & Sound
Topic: cannot start demo
Replies: 15
Views: 11165

I just rebooted my system and retried to load a demo. As i click on the start button, on the lower window appears the --- busy --- message, then appears the popup. As I close the popup, on the lower window appears "check" If I try to close the program, another popup says : Cannot quit, because other...
by Maurizio
Fri Jul 20, 2007 12:55 pm
Forum: newLISP Graphics & Sound
Topic: cannot start demo
Replies: 15
Views: 11165

cannot start demo

I cannot start amy demo in newlist edit/gui server. As I load a demo file and I click on the start button a window appears saying : The running NEWLISP process must first finish. Same thing as I try to close the program. To close it I have to kill it from task manager. Any suggestion ? Regards Mauri...
by Maurizio
Fri Mar 17, 2006 2:44 pm
Forum: newLISP newS
Topic: Problems with catch-throw
Replies: 5
Views: 4807

Thanks, I'm going to study them more carefully.
Maurizio
by Maurizio
Thu Mar 16, 2006 8:55 am
Forum: newLISP newS
Topic: Problems with catch-throw
Replies: 5
Views: 4807

Problems with catch-throw

So you mean that catch always returns the value of : If there is no throw: the value of the function evaluated If there is a throw: the value throwed by such a call. I supposed it returned nil in the second case. So If I need to differentiate the two cases I must follow one of the following strategi...
by Maurizio
Wed Mar 15, 2006 4:38 pm
Forum: newLISP newS
Topic: Problems with catch-throw
Replies: 5
Views: 4807

Problems with catch-throw

Any suggestion about this problem ?
Regards
Maurizio
by Maurizio
Mon Mar 13, 2006 8:34 am
Forum: newLISP newS
Topic: Problems with catch-throw
Replies: 5
Views: 4807

Problems with catch-throw

Seems that "catch" leads to unexpected results: in the following example the 'if' always succeed, both with the throw statement commented or not commented. Moreover, the doc seems misleading. In a paragraph is written : If an error occurs during evaluation, catch returns nil and stores the error mes...