annotate tests/vlad4.ur @ 2070:382911d72e63

Check realloc's return code to prevent segfault on out of memory condition (Part 3)
author Sergey Mironov <grrwlf@gmail.com>
date Tue, 02 Sep 2014 17:37:22 +0000
parents fe470db7feea
children
rev   line source
adam@1398 1 fun main () : transaction page =
adam@1398 2 s <- source "";
adam@1398 3 return <xml><body>
adam@1398 4 <ctextbox source={s} value="123" onchange={s <- get s; alert (s ^ "!")}/>
adam@1398 5 <dyn signal={s <- signal s; return (txt s)}/>
adam@1398 6 </body></xml>