Add DISPLAY()
This commit is contained in:
1 parent
f4da3314d1
commit
cb6dc72fd4
1 file changed
+4
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user