【文件属性】:
文件名称:y_tho:y_tho?
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-08 15:17:29
Pawn
y_tho
介绍
您是否曾经希望典当不是那么像C? 您是否更愿意使用unix shell脚本的高级语言编写脚本? 好吧,现在您可以! y_tho将pawn语法带入了22世纪,并引入了诸如esac , fi等新关键字; 看看吧:
例子
前:
for ( new i = 0 ; i != 10 ; ++ i)
{
printf ( " i is %d " , i);
}
现在:
for i in { 0 .. 10 }
do
echo i is % d, i
done
前:
if (playerid < 7 )
{
SetPlayerPos (playerid, 0 . 0 , 0 . 0 , 4 . 0 );
}
现在:
if [ playerid - lt 7 ]
then
SetPlayerPos playerid, 0 . 0 , 0 . 0 , 4 . 0
fi
【文件预览】:
y_tho-master
----y_tho.inc(2KB)
----.gitattributes(58B)
----README.md(3KB)
----.gitignore(611B)
----pawn.json(148B)
----test.pwn(542B)