June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -0,0 +1 @@
|
|||
Increase();
|
||||
|
|
@ -0,0 +1 @@
|
|||
Random();
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
macro(SP=DocumentTools:-SetProperty, GP=DocumentTools:-GetProperty);
|
||||
with(Maplets[Elements]):
|
||||
SP("Text",value,0);
|
||||
Increase:=proc()
|
||||
SP("Text",value,parse(GP("Text",value))+1);
|
||||
end proc;
|
||||
Random:=proc()
|
||||
maplet := Maplet(["Are you sure?", [Button("OK", Shutdown("true")), Button("Cancel", Shutdown())]]);
|
||||
result := Maplets[Display](maplet);
|
||||
if result = "true" then
|
||||
j:=rand(1..1000);
|
||||
SP("Text",value,j());
|
||||
end if;
|
||||
end proc;
|
||||
Loading…
Add table
Add a link
Reference in a new issue