Add DISPLAY()

This commit is contained in:
otya128 committed 2016-12-07 22:16:39 +09:00
1 parent f4da3314d1
commit cb6dc72fd4
1 file changed
+4
+4
View File
@@ -343,6 +343,10 @@ class BuiltinFunction
{ {
p.display(display); p.display(display);
} }
static int DISPLAY(PetitComputer p)
{
return p.displaynum;
}
static void GCLS(PetitComputer p, DefaultValue!(int, false) color) static void GCLS(PetitComputer p, DefaultValue!(int, false) color)
{ {
color.setDefaultValue(0); color.setDefaultValue(0);