I propose we as a group put together some example programs for newLISP.
When I looked there were no examples of a scrolling text window for the simple display of text. I would like to suggest that a newLISP-TK example be generated that expands the POP3 example into a simple mail viewer.
Search found 112 matches
- Fri Oct 18, 2002 12:29 am
- Forum: newLISP in the real world
- Topic: newLISP-TK examples
- Replies: 15
- Views: 14244
- Thu Oct 17, 2002 10:33 pm
- Forum: newLISP in the real world
- Topic: NAN revisited, a crossover from old to new.
- Replies: 23
- Views: 20349
+NAN the noun Vs. NaN? the Verb
Promoting +NAN to the state of being a noun in NewLISP was truely a big leep in logic :) Fixing the verb NaN? to be consistent with the other XXX? functions completes the puzzle. NaN? should return True or False based exclusively on NaNness and nothing else. All the other (xxxx? tests operate this w...
- Thu Oct 17, 2002 3:28 pm
- Forum: newLISP in the real world
- Topic: NAN revisited, a crossover from old to new.
- Replies: 23
- Views: 20349
Spoke a bit too soon :(
One more little problem with NaN :(
> (set 'X nil)
nil
> (NaN? 'X)
Value expected in function NaN?
>
I would have expected a return of nil, I will add it to the
previous online test.
> (set 'X nil)
nil
> (NaN? 'X)
Value expected in function NaN?
>
I would have expected a return of nil, I will add it to the
previous online test.
- Thu Oct 17, 2002 2:24 am
- Forum: newLISP in the real world
- Topic: NAN revisited, a crossover from old to new.
- Replies: 23
- Views: 20349
There is Joy in Mudville Tonight
Thanks !!! I updated online test and it passed with flying colors :) ATABoy ......
- Wed Oct 16, 2002 10:01 pm
- Forum: newLISP in the real world
- Topic: NAN revisited, a crossover from old to new.
- Replies: 23
- Views: 20349
Yet One more thought :)
Simple Answer: Yes and Yes :) Please Understand the last "C" project I personaly coded was many years ago. What version of Borland are you using I WILL locate a copy. One workaround that comes to mind is to force the error early. In NewLISP internal init code. redirtect stdio to null, do a (sqrt -1)...
- Wed Oct 16, 2002 7:11 pm
- Forum: newLISP in the real world
- Topic: NAN revisited, a crossover from old to new.
- Replies: 23
- Views: 20349
CGI examples of the problem.
Been there done that..... I have set up a CGI test so you can see my problem. "LSP" files are evaluated by your latest greatest, and "LISP" files are processed by the last known stable version before we started messing with it. <center> <A ref="http://autocode.com/run/nan-1.lsp">" http://autocode.co...
- Mon Oct 14, 2002 9:32 pm
- Forum: newLISP in the real world
- Topic: NAN revisited, a crossover from old to new.
- Replies: 23
- Views: 20349
How about
How about a new subber (+NaN) that performs a (sqrt -1) function internally and returns +NAN without the error. The error is the only real problem, now. I have not tried it as a CGI yet but I am sure it will go boom when I do ... I will give it a test late tonight. I dont care about Pi it is easily ...
- Mon Oct 14, 2002 8:15 pm
- Forum: newLISP in the real world
- Topic: NAN revisited, a crossover from old to new.
- Replies: 23
- Views: 20349
+NAN as a constant
newLISP v6.5.26-win32 Copyright (c) 1993-2002 Lutz Mueller. All rights reserved. > (symbols) => no observed +NAN on the heap > +NAN => nil > (NaN? +NAN) => Value expected in function NaN? ; Now I force one into exsistance > (set '+NAN (sqrt -1)) => sqrt: DOMAIN error returns: +NAN (symbols) => wa-la...
- Mon Oct 14, 2002 5:11 am
- Forum: newLISP in the real world
- Topic: NAN revisited, a crossover from old to new.
- Replies: 23
- Views: 20349
+NAN
Pi is stored as an 80 bit float in the co-processor as a constant. Your solution returns a 64 bit float If we stay in this solar system then polar error is not too bad :) Just Kidding. I only need a symbol that has been set to +NAN to still be a NAN after a save and load. (save) saves it out as (set...
- Mon Oct 14, 2002 12:58 am
- Forum: newLISP in the real world
- Topic: NAN revisited, a crossover from old to new.
- Replies: 23
- Views: 20349
My Last Justification for +NaN
In my example +NAN is in fact just a symbol like any other symbol, only it has been (set) to a NaN, the return value generated by the sqrt: DOMAIN error. I use '+NAN as a reference symbol to the actual NaN in memory. I can just as easily refer to it as 'X. In fact +NAN does in have a value. It is no...
- Sun Oct 13, 2002 3:16 pm
- Forum: newLISP in the real world
- Topic: Freeing up orphaned contexts.
- Replies: 1
- Views: 3653
Freeing up orphaned contexts.
I again repeat myseld here in the New Forum ..... Now for something completily .... well at least no NaNs :) How do I free up orphaned contexts without restarting the application? I can (load) or (save) contexts just fine but how do free one up and release the orphans without restarting ? IT is so c...
- Sun Oct 13, 2002 3:11 pm
- Forum: newLISP in the real world
- Topic: NAN revisited, a crossover from old to new.
- Replies: 23
- Views: 20349
NAN revisited, a crossover from old to new.
I posted the following on the old forun last night. Now I have figuring out case sensitivity problem I was haveing with loging in here. I will repeat myself here in the New forum. Here we go on an adventure in NAN :) Fresh Start: newLISP v6.5.23-win32 Copyright (c) 1993-2002 Lutz Mueller. All rights...