Can anybody summarizes what are the changes that need rewritting in order to comply with newlisp >= 10 ?
of course I can crawl the web but it would be nice if some one have a compiled list of changes
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu> (define (utf8code c) (cond ((< c 128) "0xxxxxxx") ((< c 2048) "110xxxxx 10xxxxxx") ((< c 65536) "1110xxxx 10xxxxxx 10xxxxxx") ((< c 1114112) "11110xxx 10xxxxxx 10xxxxxx 10xxxxxx")))
(lambda (c)
(cond
((< c 128) "0xxxxxxx")
((< c 2048) "110xxxxx 10xxxxxx")
((< c 65536) "1110xxxx 10xxxxxx 10xxxxxx")
((< c 1114112) "11110xxx 10xxxxxx 10xxxxxx 10xxxxxx")))
> (define (utf8code c)
(cond ((< c 128) "0xxxxxxx") ((< c 2048) "110xxxxx 10xxxxxx") ((< c 65536) "1110xxxx 10xxxxxx 10xxxxxx") ((< c 1114112) "11110xxx 10xxxxxx 10xxxxxx 10xxxxxx")))
ERR: missing parenthesis : "...(define (utf8code c) n"
> "0xxxxxxx"
ERR: missing parenthesis : "..."11110xxx 10xxxxxx 10xxxxxx 10xxxxxx"��e"
> (define (f a)
ERR: missing parenthesis : "...(define (f a)n"