Very informative answer, Lutz! It shows me some things I will have to study.
Thanks. I'm a fan!
Search found 6 matches
- Sun Oct 09, 2005 10:45 pm
- Forum: newLISP in the real world
- Topic: Return value
- Replies: 13
- Views: 8563
- Sun Oct 09, 2005 8:53 pm
- Forum: newLISP in the real world
- Topic: Return value
- Replies: 13
- Views: 8563
(set 'x (exec "ls /a_directory")) --- x will be the contents of the directory. (set 'x (exec "ls /empty_directory")) --- x will be empty. But this is where I have trouble understanding: (set 'x (exec "ls /not_a_directory")) --- x will be empty NOT null, and the OS will output an error message. (set ...
- Sat Oct 08, 2005 4:31 pm
- Forum: newLISP in the real world
- Topic: Return value
- Replies: 13
- Views: 8563
I'm using newLISP as a scripting language under FreeBSD. I am unclear about the term "return value", whether it is the data returned from the system process (say, a directory), or if it is the exit status of the process (success/fail). The reference says "The return value true is the process was suc...
- Sat Oct 08, 2005 2:55 am
- Forum: newLISP in the real world
- Topic: Return value
- Replies: 13
- Views: 8563
Return value
How does one get the return value for exec?
(set 'x (exec "command")) seems to return a nil x, regardless if the command is successful or not.
(set 'x (exec "command")) seems to return a nil x, regardless if the command is successful or not.
- Fri Jun 06, 2003 3:13 am
- Forum: newLISP in the real world
- Topic: MySQL Read Only?
- Replies: 3
- Views: 4560
- Sun Jun 01, 2003 6:01 pm
- Forum: newLISP in the real world
- Topic: MySQL Read Only?
- Replies: 3
- Views: 4560
MySQL Read Only?
There are no newlisp functions to write to a MySQL database. It is read only. Are you going to add these soon? It would be useful.