Search found 14 matches
- Sun Sep 08, 2013 12:04 pm
- Forum: newLISP in the real world
- Topic: Implicit creation of contexts not working newlisp 10.5.3
- Replies: 2
- Views: 2308
Re: Implicit creation of contexts not working newlisp 10.5.3
Hello, I've just tried it: ------------------------------- newLISP v.10.5.1 32-bit on Win32 IPv4/6 libffi, options: newlisp -h > (define (D:foo x y) (+ x y)) (lambda (x y) (+ x y)) > (D:foo 3 5) 8 > ------------------------------- However, if D is already defined as something else, it fails. I think...
- Wed May 25, 2011 4:38 pm
- Forum: newLISP newS
- Topic: Not news!
- Replies: 0
- Views: 3529
Not news!
Hello Lutz,
This section is becoming a bit contaminated with non-news, I reckon. Some moving to do, maybe?
Regards, John
This section is becoming a bit contaminated with non-news, I reckon. Some moving to do, maybe?
Regards, John
- Wed May 25, 2011 4:31 pm
- Forum: newLISP newS
- Topic: newlisp can be compiled ?
- Replies: 3
- Views: 4674
Re: newlisp can be compiled ?
Oops, this post is in the wrong section of the Forum.
newLISP scripts cannot be compiled, only executed. It can be supplied with a script address on the command line, though, which it will load and interpret automatically. Search the forum for advice on running stand-alone scripts.
Regards, John
newLISP scripts cannot be compiled, only executed. It can be supplied with a script address on the command line, though, which it will load and interpret automatically. Search the forum for advice on running stand-alone scripts.
Regards, John
- Sat Jan 08, 2011 11:39 pm
- Forum: newLISP in the real world
- Topic: dynamic 'local' symbols in functions, and the symbol table
- Replies: 0
- Views: 2727
dynamic 'local' symbols in functions, and the symbol table
I have only just realised that the temporary symbols such as the x in: (dolist (x some-list) ... ) are actually persistent and remain to be listed later by (symbols). If this dolist is in a definition, then subsequently deleting 'x results in the definition failing next time it is used. If there was...
- Mon Feb 16, 2009 5:29 pm
- Forum: Anything else we might add?
- Topic: colon in text file causes hiccups
- Replies: 3
- Views: 4434
Colon hic
Thanks Lutz, much obliged. I knew it was me (so I got that bit right).
A lesson soundly learned.
Regards, John
A lesson soundly learned.
Regards, John
- Mon Feb 16, 2009 4:22 pm
- Forum: Anything else we might add?
- Topic: colon in text file causes hiccups
- Replies: 3
- Views: 4434
colon in text file causes hiccups
Me again already. If test.lsp is reduced to: (set 'infile (open (main-args 2) "r")) (close infile) Then I still get the result: ERR: symbol expected : "a_label:" And back into the command line. Seems like newLISP is reading the contents of the file without being asked. :( I know it must be me, it al...
- Mon Feb 16, 2009 3:25 pm
- Forum: Anything else we might add?
- Topic: colon in text file causes hiccups
- Replies: 3
- Views: 4434
colon in text file causes hiccups
What am I doing wrong here? I saved this very short program as 'test.lsp': (set 'infile (open (main-args 2) "r")) (print (read-line infile) "\n") (close infile) It is in a directory with this very short file called 'test.txt': a_label: If I run this on the Windows console command line: newlisp test....
- Tue Feb 26, 2008 3:24 pm
- Forum: Anything else we might add?
- Topic: Forum message lines not wrapping
- Replies: 3
- Views: 4240
- Tue Feb 26, 2008 8:57 am
- Forum: Anything else we might add?
- Topic: Forum message lines not wrapping
- Replies: 3
- Views: 4240
Forum message lines not wrapping
Is it me? Quite a lot of messages are very difficult to read. There seems to be no line wrapping, making the page very wide sometimes. Is there some forum setting I should adjust? I am using Opera (9.26) on Win2000sp4, in case that matters.
John
John
- Thu Nov 15, 2007 4:27 pm
- Forum: Anything else we might add?
- Topic: 101 Mottos
- Replies: 34
- Views: 31704
- Mon Nov 05, 2007 10:37 am
- Forum: newLISP Graphics & Sound
- Topic: Cannot run newLISP-GS, Win2000Pro, Java cannot find main
- Replies: 5
- Views: 7377
Thanks for the attention, Lutz. Everything in the newLISP files was already as you expected. Changing the guiserver.lsp jar invocation line from this: (set 'server-path (string "\"" (env "PROGRAMFILES") "/newlisp/guiserver.jar\"")) to this: (set 'server-path (string "javaw.exe -jar " "\"" (env "PROG...
- Sat Nov 03, 2007 5:52 pm
- Forum: newLISP Graphics & Sound
- Topic: Cannot run newLISP-GS, Win2000Pro, Java cannot find main
- Replies: 5
- Views: 7377
Well, I spoke too soon :( Got the right javaw.exe, and the GUI runs fine, but trying any demo file fails with Java not finding 'main'. newlisp outputs this: > (lambda (gs:id gs:action) (net-send gs:out (string "frame-closed " gs:id " " gs:action "\n"))) I'll keep poking about, but if it is something...
- Fri Nov 02, 2007 6:21 pm
- Forum: newLISP Graphics & Sound
- Topic: Cannot run newLISP-GS, Win2000Pro, Java cannot find main
- Replies: 5
- Views: 7377
Thanks for the reply Lutz. The links were already in fact correct, and the laptop used C: anyhow. This worked: F:\WINNT\system32\javaw.exe -jar "F:\Program Files\newlisp\guiserver.jar" 47011 newlisp-edit.lsp /local/newLISP128.png from the icon but not the Run box or dosbox. Turned out that the Windo...
- Fri Nov 02, 2007 3:13 pm
- Forum: newLISP Graphics & Sound
- Topic: Cannot run newLISP-GS, Win2000Pro, Java cannot find main
- Replies: 5
- Views: 7377
Cannot run newLISP-GS, Win2000Pro, Java cannot find main
I'm a newcomer to newLISP, but you seem a friendly bunch so I feel brave enough to ask this: I installed newLISP without fiddling with any of the standard instalation. newLISP.exe itself runs just fine, but newLISP-GS, launched from the icon or a command line just gets a complaint from Java that it ...