1
0

Add DISPLAY()

This commit is contained in:
otya128
2016-12-07 22:16:39 +09:00
parent f4da3314d1
commit cb6dc72fd4

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);