本帖最后由 阿然 于 2013-3-11 11:44 编辑
我也贴个lee大的split
 - ;;字符串=>字条串列表 By Lee Mac
- ;;(BAtte:str->lst "A,B" ",")返回("A" "B")
- (defun BAtte:str->lst (str del / pos)
- (if (setq pos (vl-string-search del str))
- (cons (substr str 1 pos)
- (BAtte:str->lst (substr str (+ pos 1 (strlen del))) del)
- )
- (list str)
- )
- )
关于这个二维码,我的想法是不管三七二十八,所有的小solid阵列全画出来,然后根据二维码数据,控制小solid的visable就可以了,这样速度应该更快。
|