Search found 8 matches

by linli
Mon Nov 09, 2009 8:14 am
Forum: newLISP and the O.S.
Topic: A bug on Windows
Replies: 5
Views: 6258

A bug on Windows

I had the following problem: > (change-dir "h:") true > (real-path) "H:\\" > (change-dir "c:\\a\\b") true > (real-path) "c:\\a\\b" > (change-dir "h:") true > (real-path) "H:\\" > (change-dir "c:") true > (real-path) "c:\\a\\b" In the last step, I was trying to change the dir to c:\, but it remains i...
by linli
Mon Nov 09, 2009 7:19 am
Forum: Whither newLISP?
Topic: suggestion
Replies: 0
Views: 3845

suggestion

On Windows, can we make (directory? "c:\\") return true? Currently it returns nil and (directory? "c:\\\\") returns true.
by linli
Tue Sep 29, 2009 8:33 am
Forum: newLISP and the O.S.
Topic: How to copy file from/to a network place?
Replies: 1
Views: 3562

How to copy file from/to a network place?

in newlisp, is it possible to copy files from/to a windows network place, e.g. \\computername\shared_folder\
by linli
Mon Sep 28, 2009 1:44 pm
Forum: newLISP and the O.S.
Topic: A suggestion
Replies: 4
Views: 5809

I am using 10.1.5.
(directory? "c:\\") => nil
(directory? "c:\\\\") =>true
by linli
Mon Sep 28, 2009 12:38 pm
Forum: newLISP and the O.S.
Topic: A suggestion
Replies: 4
Views: 5809

A suggestion

I just noticed that when I do (directory? "c:\"), I got nil. Should it return true instead? The drive can be considered as the "root" directory on that drive.
by linli
Sun Sep 06, 2009 5:15 pm
Forum: Whither newLISP?
Topic: Is a lisp with only functional parentheses possible?
Replies: 33
Views: 40306

Some thoughts on lisp's syntax

It seems that quite a lot of people(including me) do not like the parentheses of lisp, because it is unnatural, hard to read or whatever else, but currently do we have a better replacement for it? Have a look at the syntax of C-family languages or PL/SQL, they are all trying to be natural, in the en...
by linli
Wed Sep 02, 2009 4:45 am
Forum: newLISP and the O.S.
Topic: Network drive I/O error on windows Xp
Replies: 3
Views: 4707

Exactly! The file I was trying to copy and delete is of 0 length! Thank you.
by linli
Tue Sep 01, 2009 5:31 pm
Forum: newLISP and the O.S.
Topic: Network drive I/O error on windows Xp
Replies: 3
Views: 4707

Network drive I/O error on windows Xp

Hi, today I just tried to copy and delete files from a windows mapped drive with copy-file and delete-file, but I got I/O error in copy-file and the delete-file just return nil without any effect. Does anyone have the same problem here? Is it a bug?