Search found 29 matches

by hotcore
Sat Feb 24, 2018 12:01 pm
Forum: newLISP in the real world
Topic: Error in newLISP-GS
Replies: 2
Views: 3516

Re: Error in newLISP-GS

Today I tried to reproduce the error, but I couldn't.
So, perhaps it was just a glitch ...
by hotcore
Fri Feb 23, 2018 4:55 pm
Forum: newLISP in the real world
Topic: Error in newLISP-GS
Replies: 2
Views: 3516

Error in newLISP-GS

In newLISP-GS I have 2 tabs: 1. untitled.lsp (not used) 2. fip.lsp (used) When I needed to temporarily cut a part from src in tab 2, I clicked on tab 1 to paste it there. When clicking on tab 1 I get: select-text-tab-4BA94169-1423-4038-BDBF-F6363D38791A 105 0: Could not invoke method select-text wit...
by hotcore
Thu Feb 22, 2018 5:11 pm
Forum: newLISP in the real world
Topic: newLISP-GS does not work in Windows 10 with Java 9
Replies: 0
Views: 5112

newLISP-GS does not work in Windows 10 with Java 9

I found an earlier report about this, but it does not seem to be solved yet.
When reverting back to Java 8 everything is just fine.

Can I be of any help to find the culprit?

Kind regards,
Arie
by hotcore
Mon May 29, 2017 12:31 pm
Forum: newLISP in the real world
Topic: Created an include script
Replies: 4
Views: 6263

Re: Created an include script

Hi rickyboy,

thx for the kind words! I'll dig in into your comments.

Would you be so kind to publish your amended version?

Best wishes,
Arie
by hotcore
Mon Feb 29, 2016 3:38 pm
Forum: newLISP in the real world
Topic: Created an include script
Replies: 4
Views: 6263

Created an include script

I discovered the hard way that, when creating a Windows executable, only the 1 script mentioned will be part of that executable, so (load "script.lsp") will only be satisfied at run time of the exe, and not at generate time. Because I wanted to create executables having (load ...) in them, I created...
by hotcore
Fri Feb 26, 2016 11:21 am
Forum: newLISP in the real world
Topic: Remove problem with main-args in script vs executable
Replies: 0
Views: 5403

Remove problem with main-args in script vs executable

Maybe somebody is interested in the code below. The main function is to show the contents of the Windows path, line by line. You may specify a search string on the comaand line to filter the output. More important is the separate code for a function which takes care of the difference in command line...
by hotcore
Fri Feb 26, 2016 11:10 am
Forum: Anything else we might add?
Topic: main-args different result for executable
Replies: 4
Views: 7145

Re: main-args different result for executable (Solved)

I found the reason why it failed.
Mainargs did return nil in case "newlisp" was not found. Just a stupid error.
Sorry for bothering you.

But very nice that it is possible to load stuff and still create one executable in the go!

Thanks for being patient with me ;-)
Arie
by hotcore
Fri Feb 26, 2016 10:50 am
Forum: Anything else we might add?
Topic: main-args different result for executable
Replies: 4
Views: 7145

Re: main-args different result for executable

I forget to mention important info:
- if run as a script it works
- if run as an executable it does not work

(BTW I'll have to check for both "newlisp" and "newlisp.exe".)
by hotcore
Fri Feb 26, 2016 10:13 am
Forum: Anything else we might add?
Topic: main-args different result for executable
Replies: 4
Views: 7145

Re: main-args different result for executable

So, I tried this out. I have this code: (define (mainargs) (let (osargs (main-args)) (if (= (lower-case (osargs 0)) "newlisp") (1 osargs)))) And the main code: (load "mainargs.lsp") (define (showpath myargs) (let (pathlist (parse (lower-case (env "PATH")) ";") osargs (mainargs)) (println "===>" osar...
by hotcore
Fri Feb 26, 2016 9:46 am
Forum: Anything else we might add?
Topic: main-args different result for executable
Replies: 4
Views: 7145

Re: main-args different result for executable

Maybe a dumb answer to self:
IF the first argument is the string "newlisp" it should always be a script.
Thx,
Arie
by hotcore
Fri Feb 26, 2016 8:57 am
Forum: So, what can you actually DO with newLISP?
Topic: newLISP shining again ...
Replies: 1
Views: 8781

newLISP shining again ...

Warning: no trolling - no flame ware!!!! These days I compared the building of an executable from a (very small) comparable Python and a newLISP script. Python: - first install pyinstaller (which is quite big) - run pyinstaller for the script (create just an executable) - it takes quite some time an...
by hotcore
Fri Feb 26, 2016 8:30 am
Forum: Anything else we might add?
Topic: main-args different result for executable
Replies: 4
Views: 7145

main-args different result for executable

Hi,

I discovered that (logically) the first os commandline parameter "newlisp" is missing from (main-args) when run from an executable.

Is it possible to detect if a script is run as a script or as an executable?
That way it would be easier to test properly for both cases!

TIA,
Arie
by hotcore
Thu Feb 18, 2016 12:10 pm
Forum: Anything else we might add?
Topic: Question for neglook
Replies: 2
Views: 5995

Re: Question for neglook

Hi m i c h a e l good stuff doesn't come cheap :-( Did you use it only personally or also in business? For personal use it is quite expensive! But indeed thanks for the fantastic video's. So far the are really the best in teaching programming stuff the easy way afaict. Keep up the good work! Arie (a...
by hotcore
Sun Feb 14, 2016 12:49 pm
Forum: Anything else we might add?
Topic: Question for neglook
Replies: 2
Views: 5995

Question for neglook

I am wondering which tools neglook uses to create these wonderful video's!
Would be very interested to know and use them.

Is it Powerpoint?
by hotcore
Tue Feb 09, 2016 1:47 pm
Forum: So, what can you actually DO with newLISP?
Topic: Kudos - newLISP amazingly suited for small tools
Replies: 0
Views: 5708

Kudos - newLISP amazingly suited for small tools

Since long I am a fan of languages that aren't bloatware. By that I mean they have a (very) small footprint on disk and often installing isn't even necessary. In my quest I encountered a few: - newLISP (in the past I dabbled a bit in it - no serious work) - Rebol (used that a lot) - Red ( red-lang.o...
by hotcore
Sat Feb 06, 2016 4:20 pm
Forum: Anything else we might add?
Topic: Request new forum sections
Replies: 0
Views: 6074

Request new forum sections

Hi,

wouldn't it be nice to add 2 sections:
- General discussion
- Problems
to the forum.

It seems there is no right section for this currently.

Best,
Arie
by hotcore
Sat May 24, 2014 9:29 am
Forum: Whither newLISP?
Topic: The future of newLISP
Replies: 3
Views: 6388

Re: The future of newLISP

Ah, thanks! It is good to see that quite a few people have contributed. However it would be great for you, Lutz, to have sparring partners in order to secure the future of newLISP. If I only had the capabilities to do so... My C skills aren't so good. Are there folks in this forum who'd like to jump...
by hotcore
Fri May 23, 2014 6:57 pm
Forum: Whither newLISP?
Topic: The future of newLISP
Replies: 3
Views: 6388

The future of newLISP

Hi,
just curious!
I am wondering if Lutz is the only developer of newLISP.
Are there any plans for the near and farther development future of newLISP.
Thx,
Arie
by hotcore
Sat Jun 29, 2013 3:07 pm
Forum: newLISP Graphics & Sound
Topic: Error when starting newLISP
Replies: 3
Views: 6265

Re: Error when starting newLISP

Or has it to do with:
viewtopic.php?f=2&t=4361
(spaces in name of installation dir?)
by hotcore
Sat Jun 29, 2013 3:04 pm
Forum: newLISP Graphics & Sound
Topic: Error when starting newLISP
Replies: 3
Views: 6265

Re: Error when starting newLISP

I tried the following: 1) %userprofile% is correct 2) %temp% is correct 3) deinstalled & reinstalled java & newLISP To no avail. However, I read Lutz's remark about directory security problems, so I deinstalled newLISP again and installed it to a different place (not in systems folders). And voilà, ...
by hotcore
Fri Jun 28, 2013 6:36 pm
Forum: newLISP Graphics & Sound
Topic: Error when starting newLISP
Replies: 3
Views: 6265

Error when starting newLISP

Hi,
i get an error (from newLISP GUI server) when i try to start newLISP.
Run-shell:
Could not start C:\Program Files\newlisp/newlisp.exe -C -w "C:\Users\Arie"
What is wrong??
Thx, Arie
by hotcore
Thu Aug 16, 2012 11:43 am
Forum: newLISP in the real world
Topic: anyone has updated POP3 library?
Replies: 2
Views: 1927

Re: anyone has updated POP3 library?

I don't know anything about that library, but there is a syntax error in your statement: unbalanced double quotes. Maybe that is the problem?
/Arie
by hotcore
Sun Aug 12, 2012 6:59 pm
Forum: Anything else we might add?
Topic: Forum search not appropriate?
Replies: 2
Views: 3301

Re: Forum search not appropriate?

Thx Ryon,

indeed this problem is known as issue http://tracker.phpbb.com/browse/PHPBB3-10562

I registered there as a user to be able to emphasize the problem, but there seem to be server problems currently. Will try later.

/Arie
by hotcore
Sat Aug 11, 2012 6:15 pm
Forum: newLISP Graphics & Sound
Topic: Buttonhandler does not work when empty field
Replies: 7
Views: 10059

Re: Buttonhandler does not work when empty field

Wow, Lutz you are a genius ;-)
Thanks a lot for the quick fix!

/Arie