Search found 3 matches

by shanquan2006
Sun Jul 06, 2014 9:17 am
Forum: Whither newLISP?
Topic: newlisp to get mysql table command lead to messy code
Replies: 7
Views: 12590

Re: newlisp to get mysql table command lead to messy code

A quick glance into the source indicates that "println" is not very i18n friendly, though I don't have too much experience with it myself. Thus, my theory is that the string in newlisp is correct (i.e., the same as the other), but presented badly by println. Maybe a raw string output works better? ...
by shanquan2006
Sun Jul 06, 2014 2:32 am
Forum: Whither newLISP?
Topic: newlisp to get mysql table command lead to messy code
Replies: 7
Views: 12590

Re: newlisp to get mysql table command lead to messy code

hotcore wrote:Maybe you don't have installed the UTF-8 version? http://www.newlisp.org/index.cgi?page=Downloads
The version I installed is:

Code: Select all

-OptiPlex-3020:~$ newlisp --version
newLISP v.10.6.0 64-bit on Linux IPv4/6 UTF-8 libffi, options: newlisp -h
by shanquan2006
Fri Jul 04, 2014 5:30 am
Forum: Whither newLISP?
Topic: newlisp to get mysql table command lead to messy code
Replies: 7
Views: 12590

newlisp to get mysql table command lead to messy code

I study newLisp for two weeks. Now I was trying to connect mysql to get "create table sql", but it cause messy code . the code is : (:connect db mysql-host mysql-user mysql-pwd mysql-db mysql-port) (set 'r (:query db (append "show create table " mysql-table-name))) (set 'mysql_sql ((((:fetch-all r) ...