Search found 1389 matches

by HPW
Sat Nov 26, 2022 2:11 pm
Forum: newLISP newS
Topic: newLISP future and updates
Replies: 2
Views: 61

Re: newLISP future and updates

Hello,

You may read this thread:

viewtopic.php?f=5&t=5225

Since newLISP is open-source you can do work on it under the given license.

Regards
Hans-Peter
by HPW
Tue Oct 04, 2022 5:20 pm
Forum: Anything else we might add?
Topic: What's up with Nuevatec and Lutz?
Replies: 3
Views: 252

Re: What's up with Nuevatec and Lutz?

Hello,

My last mail contact was in 02.2020 when he was well. He was then 72 years old.
I hope he is still well now.
We are all getting older, My energy is also getting lower with my 62 years. ;-)
newlisp stays a great and genious tool.

Regards

Hans-Peter
by HPW
Sat Sep 24, 2022 12:06 pm
Forum: newLISP in the real world
Topic: import all functions of the dll at once?
Replies: 3
Views: 181

Re: import all functions of the dll at once?

Hello,

Sorry, I can not offer direkt support nor will I try unknown software.
I had told some of my experience with DLL function import with newlisp.

Regards
Hans-Peter
by HPW
Sun Sep 18, 2022 8:59 pm
Forum: newLISP in the real world
Topic: import all functions of the dll at once?
Replies: 3
Views: 181

Re: import all functions of the dll at once?

Hello, I am not aware of a programming enviroment which can import all functions from a unknown DLL. You must know which functions are exported from the DLL and the amount and type of parameters. When it is your own DLL you can design an interface where a exported command can return that information...
by HPW
Tue Jun 14, 2022 4:16 pm
Forum: newLISP in the real world
Topic: string function
Replies: 4
Views: 522

Re: string function

Hello,

Whats the question: The integer in the both symbols are converted to string and all together is concatinated.

http://www.newlisp.org/downloads/newlis ... tml#string

Regards
Hans-Peter
by HPW
Sat Jun 04, 2022 2:55 pm
Forum: newLISP in the real world
Topic: setq '
Replies: 3
Views: 913

Re: setq '

Hello,

setq is short for set quote. ;-)

Code: Select all

> (setq a 3)
3
> a
3
> (set 'a 4)
4
> a
4
by HPW
Tue Mar 01, 2022 3:50 pm
Forum: Anything else we might add?
Topic: Is newLISP alive yet?
Replies: 1
Views: 632

Re: Is newLISP alive yet?

Hello, Lutz (creator of newlisp) is getting older as we all get older. He is not that active as in the early days of newLISP. I think he is monitorimg the forum regulary. newLISP in its core is quite stable I think. For me it is a work-horse for scripting jobs. One of my best tools in the toolbox. ;...
by HPW
Tue Dec 07, 2021 7:11 pm
Forum: newLISP newS
Topic: Happy Birthday newLisp
Replies: 5
Views: 2390

Re: Happy Birthday newLisp

And still a great tool!
Only problem is that we also gets 30 years older. ;-)
by HPW
Wed Mar 31, 2021 2:09 pm
Forum: newLISP in the real world
Topic: error setq symbol with beginn with number
Replies: 2
Views: 1951

Re: error setq symbol with beginn with number

Hello,

Thanks for the reminder. RTFM.
Long time using newlisp and forgetting something over time. ;-)

Regards

Hans-Peter
by HPW
Wed Mar 31, 2021 8:13 am
Forum: newLISP in the real world
Topic: error setq symbol with beginn with number
Replies: 2
Views: 1951

error setq symbol with beginn with number

Hello Lutz,

I ran across this error:

Code: Select all

> (setq 01Text "Some Text")

ERR: missing argument in function setf
So is this not allowed to use a symbolname starting with a number?

Using: 10.7.4 32Bit Exe

Also showing in DLL-Flavour.

Regards

Hans-Peter
by HPW
Fri Dec 25, 2020 6:18 am
Forum: newLISP in the real world
Topic: Get rid of (some of) the parentheses with sublisp!
Replies: 5
Views: 4330

Re: Get rid of (some of) the parentheses with sublisp!

Hello, I agree that it is a matter of style and taste. The good thing is that a lisp does allow every user to do it in his preferred style. (not like python for example) My use of that style comes from a practical view in using it in a huge amount of production code in autolisp/newlisp. My editor do...
by HPW
Mon Dec 07, 2020 8:25 pm
Forum: newLISP in the real world
Topic: Get rid of (some of) the parentheses with sublisp!
Replies: 5
Views: 4330

Re: Get rid of (some of) the parentheses with sublisp!

Hello, I have no problem with the paranthesis and they belong to every lisp. For me a good editor solves the problem with paranthesis checker. Also a different coding style can help to view the structure better: (define (initial-clauses str) (set 'start (array rows columns (map int (explode str)))) ...
by HPW
Sun May 31, 2020 6:22 am
Forum: newLISP newS
Topic: Forum is back again
Replies: 2
Views: 4408

Forum is back again

Hello Forum-admin,

Just noticed that the forum is back to full power.
Many thanks to you for your ongoing support and providing this great resource of the newlisp community.

Regards
Hans-Peter
by HPW
Fri Nov 15, 2019 3:39 pm
Forum: newLISP newS
Topic: newLISP in a browser - new version
Replies: 6
Views: 8872

Re: newLISP in a browser - new version

Lutz original Version always on the link he posted here in the thread:

http://www.newlisp.org/newlisp-js/

For the package click on the info button. It links to:

http://www.newlisp.org/newlisp-js/README.html
by HPW
Thu Aug 01, 2019 5:31 am
Forum: newLISP and the O.S.
Topic: hpwNLAutoItDll released
Replies: 7
Views: 7883

Re: hpwNLAutoItDll released

Hello,
Just tried it again:
newLISP v.10.7.4 32-bit on Windows IPv4/6 libffi, options: newlisp -h

> (load "hpwAutoIt.lsp")
AUTOIT_WinMinimizeAllUndo@1000161F
>
Do you have a 32bit newlisp installed?
(The thread and the dll is from 2004)

Regards
by HPW
Mon Jun 10, 2019 7:12 am
Forum: newLISP in the real world
Topic: format json-parse data into html
Replies: 7
Views: 5269

Re: format json-parse data into html

Hello, From my first thoughts (untested): (setq alie '(("result" (("totalResults" 19) ("products" ((("productTitle" "GILDAN EMACS GNU XEMACS LISP programmers wildebeest short-sleeved T-shirt") ("imageUrl" "https://ae01.alicdn.com/kf/HTB1HMtjKuuSBuNjSsziq6zq8pXaz/GILDAN-EMACS-GNU-XEMACS-font-b-LISP-b...
by HPW
Mon May 13, 2019 5:01 pm
Forum: newLISP newS
Topic: Stable Release newLISP v.10.7.5
Replies: 10
Views: 12501

Re: Stable Release newLISP v.10.7.5

Hello Lutz, Thanks for the ongoing development and the great interpreter! A minor problem with viewing one link from the download-page on IE11 on Win7: http://www.newlisp.org/downloads/newlisp-10.7.5/doc/INSTALL Looks not good on IE11 because the browser seems not to show any CRLF. Shows fine with C...
by HPW
Mon May 13, 2019 12:42 pm
Forum: Whither newLISP?
Topic: problem with floats
Replies: 1
Views: 3060

Re: problem with floats

Hello,

Take a look at your locale with (set-locale).

This sets the locale to german with , as decimal seperator:
(set-locale "de_DE")

And note that + is for integer-math. Use (add ... ...) for floats.

And the doc has good explanations for that. ;-)

Regards
by HPW
Mon May 13, 2019 11:29 am
Forum: newLISP and the O.S.
Topic: Compile script to .exe with attached files
Replies: 8
Views: 8548

Re: Compile script to .exe with attached files

Hello,

Just one question: Can't you combine your 3 lsp files into one?
That would be the easiest way.

Regards
by HPW
Sun May 12, 2019 4:54 pm
Forum: newLISP and the O.S.
Topic: Compile script to .exe with attached files
Replies: 8
Views: 8548

Re: Compile script to .exe with attached files

Hello,

I assume that you do want to load your Lisp files from the same Directory (any) as your new exe.
Then you may use (main-args 0) to get the path+name of your running exe.
Extract the path and build full path of your files to load.

Regards
by HPW
Sun May 05, 2019 2:11 pm
Forum: newLISP newS
Topic: newLISP in a browser - new version
Replies: 6
Views: 8872

Re: newLISP in a browser - new version

Hello Lutz,

Thanks for the info. So it is a WA-only version! So any chance to get a JS version?
When I remember prior tests the JS-version was a bit more compatible across different Browsers.

Regards
Hans-Peter
by HPW
Sun May 05, 2019 1:40 pm
Forum: newLISP newS
Topic: newLISP in a browser - new version
Replies: 6
Views: 8872

Re: newLISP in a browser - new version

Hello Lutz, Thank you very much for the ongoing support of this target platform. Great News! Can you provide a download link for the complete package? Any special info from the Change-log besides newlisp 10.7.5 ? About the emscripten version? Edit: Any Chance to also build a WebAssembly Version? Reg...
by HPW
Sat Apr 06, 2019 4:55 am
Forum: newLISP and the O.S.
Topic: How to stop newlisp in daemon mode
Replies: 2
Views: 4309

Re: How to stop newlisp in daemon mode

Hello,

I do not know if there is a special way for -d mode, but in the former TclTk newlisp-Gui in -p mode, there was a tcl comand "exec kill" on the newlisp process id to end the session.

Regards
Hans-Peter
by HPW
Wed Mar 20, 2019 4:37 pm
Forum: newLISP in the real world
Topic: Unexpected result in round
Replies: 3
Views: 3582

Re: Unexpected result in round

Hello,

Thanks for the advices.
I am generating nc-code for a nc-drilling mashine.
Format will do the Job.

Regards
Hans-Peter
by HPW
Wed Mar 20, 2019 10:34 am
Forum: newLISP in the real world
Topic: Unexpected result in round
Replies: 3
Views: 3582

Unexpected result in round

Hello,

I get this unexpected result in round:

Code: Select all

> (round 8.3 -1)
8.300000000000001
> (round 8.30 -1)
8.300000000000001
> (round 8.430 -1)
8.4
> (round 8.4 -1)
8.4
> (round 8.2 -1)
8.199999999999999
>
The doc contains not this behaviour.

Regards
Hans-Peter