RAW
Nov 10, 2007 10:56:51 GMT -5
Post by Janet on Nov 10, 2007 10:56:51 GMT -5
I'd like to know the advantage of using raw over html. Modifying Alyce's short demo, this code
t$ = "<html><head><title>Html Demo</title><center><h1>Raw Demo</h1></center></head>"
t$ = t$ + "<body><p>Hello, Run BASIC!</p><p>Hit the BACK button.</p></body></html>"
Cls
html t$
print: print
Link#l, "Click Me to End",[click]
Wait
[click]
Cls
html t$
End
shows the link to be clicked to end the program. But, Alyce's original Raw demo
t$ = "<html><head><title>Raw Demo</title><center><h1>Raw Demo</h1></center></head>"
t$ = t$ + "<body><p>Hello, Run BASIC!</p><p>Hit the BACK button.</p></body></html>"
Cls
raw t$
print: print
Link#l, "Click Me to End",[click]
Wait
[click]
Cls
raw t$
End
doesn't display Link#1. So, when would it be preferable to use raw over html?