前阵子看到有人在lz有的hp prime v2上做了一个galgame,于是我又捡起了吃灰许久的计算器,在安装的时候遇到了一点小麻烦,好在和作者沟通后解决了,但是我首次知道了一门语言"PPL",形式和python大同小异以下是示例:
power()
begin
local a,b,c;
input(a,"指数");
input(b,"底数");
c:=a^b;
rect_p(rgb(10,10,50));
textout_p(c,100,100,7, rgb(200,200,200));
wait(0);
rect_p();
return c;
end