⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 structures.zhtml

📁 Dynamic C 程式源碼 用來控制RCM5700 rs232 連接到網路設定
💻 ZHTML
字号:
<!-- This file shows how to display and access structures in ZHTML scripting.  
     See the tags in the <FORM> ... </FORM> section. -->

<HTML>

<HEAD>
<TITLE>Structure Variables</TITLE>
</HEAD>

<BODY>
<H1>Structure Variables</H1>

<FORM ACTION="/index.zhtml" METHOD="POST">

<TABLE>
<!-- The following row in the table is for the foo.a variable -->
<TR>
<TD>foo.a
<!-- Note that the structure variable is referred to just like in C, except for
     the '$' (or '@' if accessing the committed value) in front. -->
<?z if (error($foo.a)) { ?>
   (ERROR!)
<?z } ?>
</TD>
<TD>
<INPUT TYPE="text" NAME="foo.a" SIZE=5 VALUE="<?z echo($foo.a) ?>">
</TD>
</TR>

<!-- The following row in the table is for the foo.bar.b variable -->
<TR>
<TD>foo.bar.b
<?z if (error($foo.bar.b)) { ?>
   (ERROR!)
<?z } ?>
</TD>
<TD>
<INPUT TYPE="text" NAME="foo.bar.b" SIZE=5 VALUE="<?z echo($foo.bar.b) ?>">
</TD>
</TR>

<!-- The following row in the table is for the foo.bar.c variable -->
<TR>
<TD>foo.bar.c
<?z if (error($foo.bar.c)) { ?>
   (ERROR!)
<?z } ?>
</TD>
<TD>
<INPUT TYPE="text" NAME="foo.bar.c" SIZE=10 VALUE="<?z echo($foo.bar.c) ?>">
</TD>
</TR>

<!-- The following row in the table is for the foo.d variable -->
<TR>
<TD>foo.d
<?z if (error($foo.d)) { ?>
   (ERROR!)
<?z } ?>
</TD>
<TD>
<INPUT TYPE="text" NAME="foo.d" SIZE=1 VALUE="<?z echo($foo.d) ?>">
</TD>
</TR>

<!-- The following row in the table is for the foo2.a variable -->
<TR>
<TD>foo2.a
<?z if (error($foo2.a)) { ?>
   (ERROR!)
<?z } ?>
</TD>
<TD>
<INPUT TYPE="text" NAME="foo2.a" SIZE=5 VALUE="<?z echo($foo2.a) ?>">
</TD>
</TR>

<!-- The following row in the table is for the foo2.bar.b variable -->
<TR>
<TD>foo2.bar.b
<?z if (error($foo2.bar.b)) { ?>
   (ERROR!)
<?z } ?>
</TD>
<TD>
<INPUT TYPE="text" NAME="foo2.bar.b" SIZE=5 VALUE="<?z echo($foo2.bar.b) ?>">
</TD>
</TR>

<!-- The following row in the table is for the foo2.bar.c variable -->
<TR>
<TD>foo2.bar.c
<?z if (error($foo2.bar.c)) { ?>
   (ERROR!)
<?z } ?>
</TD>
<TD>
<INPUT TYPE="text" NAME="foo2.bar.c" SIZE=10 VALUE="<?z echo($foo2.bar.c) ?>">
</TD>
</TR>

<!-- The following row in the table is for the foo2.d variable -->
<TR>
<TD>foo2.d
<?z if (error($foo2.d)) { ?>
   (ERROR!)
<?z } ?>
</TD>
<TD>
<INPUT TYPE="text" NAME="foo2.d" SIZE=1 VALUE="<?z echo($foo2.d) ?>">
</TD>
</TR>

</TABLE>

<P>
<INPUT TYPE="submit" VALUE="Submit">
<INPUT TYPE="reset" VALUE="Reset">
</FORM>

</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -