blob: 85191229ecef8a6eca18e2b31c4002169aaab008 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
sequence s
fun main () : transaction page =
let
fun getNext () = nextval s
in
s <- source 0;
return <xml><body>
<button value="Get It On!"
onclick={n <- getNext ();
set s n}/>
</body></xml>
end
|