[REBOL] Re: Antwort: Switch!
From: al:bri:xtra at: 20-Nov-2000 22:02
This should be a function:
> ; temp-html: copy sub-toc-html-template
> append sub-list rejoin [{<a href="} file {" target
> ="touchscreencontent"><img src="./images/round-button.jpg" border="0" />
> }title {</a>}]
> append temp-html newline
> append temp-html sub-list
> append temp-html sub-toc-html-stub
> write/append %aa.html temp-html]
Repeat 26 times after me, "Write everything once and only once".
Letter: function [Text [string!] File [file!]] [Page][
Page: copy sub-toc-html-template
; your code here...
]
Andrew Martin
ICQ: 26227169
http://members.nbci.com/AndrewMartin/