62
63
64
65
66
67
68
69
70
71
72
73
|
When the app is running, the /env page shows the CGI environment for
debugging and testing purposes.
5.0 self.tcl and self2.tcl
--------------------------
These script give examples of Wapp applications that can display
a copy of themselves. The self-display for self.tcl is in the /self
page and is actually a very small part of the total script. For the
self2.tcl example, the color of the text for the self-display is
controlled by a query parameter.
|
|
>
>
>
>
>
>
|
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
When the app is running, the /env page shows the CGI environment for
debugging and testing purposes.
5.0 self.tcl and self2.tcl
--------------------------
These scripts give examples of Wapp applications that can display
a copy of themselves. The self-display for self.tcl is in the /self
page and is actually a very small part of the total script. For the
self2.tcl example, the color of the text for the self-display is
controlled by a query parameter.
Both of these example scripts are installed on the canonical Wapp
website so that you can easily try them out:
+ <https://wapp.tcl.tk/examples/self.tcl>
+ <https://wapp.tcl.tk/examples/self2.tcl>
|