明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 786|回复: 6

[提问] CAD2021 LISP有更新吗?

[复制链接]
发表于 2020-5-26 21:13 | 显示全部楼层 |阅读模式

(strlen "┇")         2020和2021获取出来的长度不一样  奇怪了

难到是更新了lisp吗?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
"觉得好,就打赏"
还没有人打赏,支持一下
发表于 2020-5-26 21:46 | 显示全部楼层
更新了些东西,中文也是一个字节了。
 楼主| 发表于 2020-5-26 23:35 | 显示全部楼层
这这这.......
看来只有写自定义函数了,
substr 这个也是一样的
 楼主| 发表于 2020-5-26 23:42 | 显示全部楼层
找到了,改了这么多,我也看不懂,自己去翻译

Changed
These functions were updated to support Unicode character strings/codes:

ascii - Returns the conversion of the first character of a string into its Unicode character code (an integer).
chr - Converts an integer representing a Unicode character code into a single-character string.
load - Evaluates the AutoLISP expressions in a file.
open - Opens a file for access by the AutoLISP I/O functions. A new optional argument has been added which allows for the specification of the character encoding to be used when reading/writing the file. When the argument isn't provided, the file is assumed to contain a multibyte character set (MBCS) which is the legacy behavior.
read-char - Returns the integer representing the Unicode character read from the keyboard input buffer or from an open file.
read-line - Reads a string from the keyboard or from an open file, until an end-of-line marker is encountered.
strlen - Returns an integer that is the number of characters in a string.
substr - Returns a substring of a string.
vl-directory-files - Lists all files in a given directory.
vl-file-copy - Copies or appends the contents of one file to another file.
vl-file-delete - Deletes a file.
vl-file-directory-p - Determines if a file name refers to a directory.
vl-file-rename - Renames a file.
vl-file-size - Determines the size of a file, in bytes.
vl-file-systime - Returns last modification time of the specified file.
vl-filename-mktemp - Calculates a unique file name to be used for a temporary file.
vl-list->string - Combines the Unicode characters associated with a list of integers into a string.
vl-mkdir - Creates a directory.
vl-string->list - Converts a string into a list of Unicode character codes.
vl-string-elt - Returns the Unicode representation of the character at a specified position in a string.
vl-string-mismatch - Returns the length of the longest common prefix for two strings, starting at specified positions.
vl-string-position - Looks for a character with the specified Unicode code in a string.
vl-string-search - Searches for the specified pattern in a string.
vl-string-subst - Substitutes one string for another, within a string.
vl-string-translate - Replaces characters in a string with a specified set of characters.
vl-vbaload - Loads a VBA project.
vlisp-compile - Compiles AutoLISP source code into a FAS file.
write-char - Writes one Unicode character to the screen or an open file.
write-line - Writes a string to the screen or to an open file.
发表于 2020-5-27 09:59 | 显示全部楼层
有中文版的说明不看,非得看这英文版的
 楼主| 发表于 2020-5-27 11:30 | 显示全部楼层
烟盒迷唇 发表于 2020-5-27 09:59
有中文版的说明不看,非得看这英文版的

哥,哪里有中文版的?我只找到英文版的
发表于 2020-6-8 10:30 | 显示全部楼层
本帖最后由 烟盒迷唇 于 2020-6-8 10:49 编辑

http://help.autodesk.com/view/ACD/2021/CHS/这里就是中文版的。不过好多还是英文的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-4-20 08:13 , Processed in 0.303518 second(s), 26 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表