>Therefor my vote would for the current syntax or Lutz's version.
So no problem! :-)
It is Lutz's version.
Search found 1390 matches
- Wed Nov 19, 2003 6:04 pm
- Forum: newLISP in the real world
- Topic: let
- Replies: 7
- Views: 5189
- Wed Nov 19, 2003 5:54 pm
- Forum: newLISP Graphics & Sound
- Topic: Turtle.lsp bug in 7.3.7
- Replies: 5
- Views: 5799
Turtle.lsp bug in 7.3.7
Turtle in the new 7.3.7 brings up an error:
bad screen distance "302,1612092"
bad screen distance "302,1612092"
- Wed Nov 19, 2003 1:35 pm
- Forum: newLISP and the O.S.
- Topic: solaris compile
- Replies: 7
- Views: 6896
- Wed Nov 19, 2003 9:18 am
- Forum: newLISP and the O.S.
- Topic: solaris compile
- Replies: 7
- Views: 6896
solaris compile
We have succesfull compiled newlisp 7.3.4 on our host running solaris.
Now it can be used on both sides. Great!
Now it can be used on both sides. Great!
- Wed Nov 19, 2003 6:46 am
- Forum: newLISP in the real world
- Topic: upper-case/lower-case with umlauts?
- Replies: 13
- Views: 8567
- Wed Nov 19, 2003 6:38 am
- Forum: newLISP in the real world
- Topic: let
- Replies: 7
- Views: 5189
- Tue Nov 18, 2003 8:19 am
- Forum: newLISP in the real world
- Topic: upper-case/lower-case with umlauts?
- Replies: 13
- Views: 8567
upper-case/lower-case with umlauts?
Is there any way to support upper-case/lower-case with umlauts?
Example:
(upper-case "Testöäüß")
gives:
"TESTöäüß"
One possibility is to define my own function with parsing/replacing the umlauts. Other ideas?
Example:
(upper-case "Testöäüß")
gives:
"TESTöäüß"
One possibility is to define my own function with parsing/replacing the umlauts. Other ideas?
- Mon Nov 17, 2003 8:19 pm
- Forum: newLISP and the O.S.
- Topic: load lisp-files from inside wrapped EXE
- Replies: 17
- Views: 14160
- Mon Nov 17, 2003 4:43 pm
- Forum: newLISP and the O.S.
- Topic: load lisp-files from inside wrapped EXE
- Replies: 17
- Views: 14160
So far a workaround:
This is fast enough.
Code: Select all
(set 'tmpfile(tk "::freewrap::unpack /DBA/artbez.lsp C:/temp/"))
(load tmpfile)
(delete-file tmpfile)
- Mon Nov 17, 2003 4:16 pm
- Forum: newLISP and the O.S.
- Topic: load lisp-files from inside wrapped EXE
- Replies: 17
- Views: 14160
With the new 7.3.4 I have no problem to load the huge Lisp-file from a file directly. It is really fast. But when I try it from the wrapped EXE or file-system through the TK-frontend it seems to hang. When I use a far more smaller file, it comes back at once. (tk "set fle [open /DBA/artbez.lsp r]; N...
- Mon Nov 17, 2003 2:43 pm
- Forum: newLISP in the real world
- Topic: call stack overflow in function list:
- Replies: 5
- Views: 4424
- Mon Nov 17, 2003 1:51 pm
- Forum: newLISP in the real world
- Topic: call stack overflow in function list:
- Replies: 5
- Views: 4424
- Mon Nov 17, 2003 6:33 am
- Forum: newLISP in the real world
- Topic: call stack overflow in function list:
- Replies: 5
- Views: 4424
>if " (CADT_MBI_MDEF_LISP "A0002") " is a function which has to be evaluated, >then of course you would need 'list' so all elements in the list are evaluated first. Yes in the moment it has to be evaluated. It is on the alisp-side where I load it at different times where the function return differen...
- Sun Nov 16, 2003 6:19 pm
- Forum: newLISP in the real world
- Topic: call stack overflow in function list:
- Replies: 5
- Views: 4424
call stack overflow in function list:
I have a huge lisp table and want to read it. Here 2 sample rows: (setq CADT_WOINT_ARTBEZTAB (list (list "A0002" "Test1" "PRO-MEH" (CADT_MBI_MDEF_LISP "A0002") "100100" nil "S" "0") (list "A0010" "Test2" "PRO-ELK" (CADT_MBI_MDEF_LISP "A0010") "102401" nil "S" "1") ... ) ) ) But in row 2048 I get an:...
- Wed Nov 12, 2003 3:18 pm
- Forum: newLISP and the O.S.
- Topic: Window pos from config-file
- Replies: 5
- Views: 5330
Thanks for it! By the way: set Ide(Console.... In my own special main-tcl I have changed all first chars of the Ide-var-names to capital letters, because they are sorted by them when it save the config. This is case-sensitive and so I get a clean alpha-sort when all are capital letters. But it's jus...
- Wed Nov 12, 2003 8:03 am
- Forum: newLISP and the O.S.
- Topic: Window pos from config-file
- Replies: 5
- Views: 5330
With this modified proc the pos is stored when you save the settings. proc SaveSettings {} { global Ide txt statusText set posxprefix "+" set posyprefix "+" set Ide(WinPosX) [append posxprefix [winfo x .]] set Ide(WinPosY) [append posyprefix [winfo y .]] set initFile [open "newlisp-tk.config" w] put...
- Mon Nov 10, 2003 8:51 am
- Forum: Anything else we might add?
- Topic: Commas in parameter lists
- Replies: 5
- Views: 5200
Testing it with:
and
crashes both on WIN XP prof.
I am not sure if it is worth to think more about this hack,
because it is platform-dependent.
Code: Select all
(import "msvcrt" "sprintf")
(sprintf (last (dump '/)) "%c %c" 0 32)
Code: Select all
(import "msvcrt" "memcpy")
(memcpy (last (dump '/)) (pack "c c" 0 32) 2)
I am not sure if it is worth to think more about this hack,
because it is platform-dependent.
- Sun Nov 09, 2003 9:02 am
- Forum: Anything else we might add?
- Topic: Bug in init.lsp from 7300
- Replies: 1
- Views: 2812
Bug in init.lsp from 7300
I think this code:
Should be this:
Code: Select all
(if (> (last (sys-info)) 7207)
(global 'defun))
Code: Select all
(if (> (nth 5 (sys-info)) 7207)
(global 'defun))
- Sun Nov 09, 2003 8:57 am
- Forum: newLISP in the real world
- Topic: Bug in tk-args
- Replies: 2
- Views: 3180
- Mon Nov 03, 2003 8:54 pm
- Forum: Anything else we might add?
- Topic: Commas in parameter lists
- Replies: 5
- Views: 5200
So with 7.2.8 this no longer works.
symbol is protected : /
called from user defined function test
So have to change to the ',' but loose xlisp-compatibility.
Code: Select all
(defun test ( a b c / x y)(setq x 10 y(div a b)))
called from user defined function test
So have to change to the ',' but loose xlisp-compatibility.
- Mon Nov 03, 2003 11:08 am
- Forum: newLISP in the real world
- Topic: Internalization ?
- Replies: 3
- Views: 4030
- Sun Nov 02, 2003 4:40 pm
- Forum: Anything else we might add?
- Topic: command without paranthesis?
- Replies: 6
- Views: 5877
if { [llength $Ide(DirectConsoleCmd)] > 0 } { set cmdpos [lsearch -exact $Ide(DirectConsoleCmd) [string tolower $lastCommand]] if { $cmdpos > -1 } { set lastCommand "(" append lastCommand [lindex $Ide(DirectLispCmd) $cmdpos] ")" } } Adding the '-exact' option will prevent to activate the first comm...
- Sun Nov 02, 2003 10:52 am
- Forum: Anything else we might add?
- Topic: Commas in parameter lists
- Replies: 5
- Views: 5200
One Problem, this does not work any more:
operator '/' is set to nil inside the function.
But we can do this:
Code: Select all
(defun test ( a b c / x y)(setq x 10 y(/ a b )))
But we can do this:
Code: Select all
(defun test ( a b c / x y)(setq x 10 y(div a b )))
- Sun Nov 02, 2003 7:32 am
- Forum: Anything else we might add?
- Topic: Commas in parameter lists
- Replies: 5
- Views: 5200
Commas in parameter lists
When I read this sample code in the help: (define (my-func a b c , x y z) (set 'x .....) ... ... ) Make me thinking if this is possible (replacing comma with forward slash): (defun my-func (a b c / x y)(setq x 10 y (+ a b c))) And it works! :-) Will help me in my work for an xlisp/alisp compatible l...
- Wed Oct 29, 2003 7:08 am
- Forum: newLISP in the real world
- Topic: Options for paper output?
- Replies: 20
- Views: 12352
>HTML and launching a browser would be the easiest. That have I done with my alisp-code and it only has to be ported. >Don't know about the TCL-extensions. I am investigating on this, but it seems that multiplatform-support for it is tricky. >Best quality for printing of course PDF. Post Script the ...