IN: webapps.numbers
: web-print ( str -- )
- #! Display the string in a web page.
+ ! Display the string in a web page.
[
swap dup
+ "<!DOCTYPE html>" print
<html>
<head> <title> write </title> </head>
<body>
: read-number ( -- )
[
+ "<!DOCTYPE html>" print
<html>
<head> <title> "Enter a number" write </title> </head>
<body>