https://www.cnblogs.com/yeungchie/

  • code
procedure(ycartGo(length1)
prog(()
for(x 1 length1
printf("\nTotal length : %d(%d)\n" x + 3 x)
_ycart(x)
)
;return()
)
)
procedure(_ycart(length)
prog((alphabets Alphabets numbers keys begin end funcends funcend func)
alphabets = list(
"a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m"
"n" "o" "p" "q" "r" "s" "t" "u" "v" "w" "x" "y" "z"
)
Alphabets = list(
"A" "B" "C" "D" "E" "F" "G" "H" "I" "J" "K" "L" "M"
"N" "O" "P" "Q" "R" "S" "T" "U" "V" "W" "X" "Y" "Z"
)
;numbers = list("0" "1" "2" "3" "4" "5" "6" "7" "8" "9")
keys = append(append(alphabets Alphabets) numbers) begin = ""
end = ""
for(x 0 length - 1
begin = strcat(begin "foreach(key" sprintf(nil "%d " x) "keys ")
end = strcat(end ")")
)
mid = "
funcends = nil
for(x 0 length - 1
funcends = append1(funcends
strcat(\"key\" sprintf(nil \"%d \" x))
)
)
funcend = \"\"
foreach(x funcends
funcend = strcat(funcend evalstring(x))
)
func = stringToSymbol(strcat(\"art\" funcend))
if(fboundp(func) then
printf(\"I found it ! function - %s\\n\" func)
)
"
evalstring(strcat(begin mid end))
)
)
  • describe
  1. 用于遍历查找art开头的内置函数。
  2. ycartGo(length1),length1指定函数名art后需要查找的位数,从长度为0开始。
  3. _ycart(length),length指定函数名art后需要查找的位数,固定长度。
  • example
ycartGo(4)
=> Total length : 4(1) Total length : 5(2) Total length : 6(3) Total length : 7(4)
I found it ! function - artDups
I found it ! function - artInfo
I found it ! function - artLess
I found it ! function - artLoad
I found it ! function - artTrue
I found it ! function - artWarn
nil

最新文章

  1. 【Asp.Net Core】一、Visual Studio 2015 和 .NET Core 安装
  2. 个人学习记录1:二维数组保存到cookie后再读取
  3. target与currentTarget区别 ( html是弹窗居中的例子)
  4. delphi SQL操作
  5. 浏览器网页判断手机是否安装IOS/Android客户端程序
  6. Python实现C4.5(信息增益率)
  7. javascript笔记——date以及datetime的比较
  8. Linux 下 安装 Phalcon
  9. 【转】Java基础笔记 – 枚举类型的使用介绍和静态导入--不错
  10. You have not agreed to the Xcode license.
  11. 构件图(Component Diagram)—UML图(八)
  12. oracle sql*plus常用命令
  13. 六:Dubbo与Zookeeper、SpringMvc整合和使用
  14. VLAN的划分
  15. mysql快速生成批量测试数据
  16. Linux网络属性管理
  17. 关于mysql文件导入提示“Variable @OLD_CHARACTER_SET_CLIENT can't be set to the value of @@CHARACTER_SET_CLIENT”问题分析
  18. 小程序构建npm出现没有找到node_modules
  19. [转帖]SPU、SKU、ID,它们都是什么意思,三者又有什么区别和联系呢?
  20. 【转】Error:JAVA_HOME is not set and could not be found

热门文章

  1. CSS3 clip-path 用法介绍
  2. 宁波市第三届网络安全大赛-WriteUp(Misc)
  3. F5隐写工具使用
  4. Rust String(官方文档翻译)
  5. Java面向对象详解-下
  6. Python函数01/函数的初识/函数的定义/函数调用/函数的返回值/函数的参数
  7. 【RPA Starter第三课】第一个Uipath项目:HelloWord
  8. Ethical Hacking - Web Penetration Testing(6)
  9. Ethical Hacking - NETWORK PENETRATION TESTING(9)
  10. 题解 洛谷 P2254 【[NOI2005]瑰丽华尔兹】