#2013_10_05 星期六 add by greshem
command_ftbl 总领 整个程序 里面的函数 对应的 动作 就是 整个 软件的 核心了.
########################################################################
J:\portage\sci-visualization\gnuplot\gnuplot-4.6.1.chm::/S/463.html#L87
root/src/tables.c
51 const struct gen_ftable command_ftbl[] =
204 extern const struct gen_table command_tbl[];
205 extern const struct gen_table plot_axes_tbl[];
206 extern const struct gen_table plot_smooth_tbl[];
207 extern const struct gen_table dgrid3d_mode_tbl[];
208 extern const struct gen_table save_tbl[];
209 extern const struct gen_table set_tbl[];
210 extern const struct gen_table test_tbl[];
211 extern const struct gen_table set_key_tbl[];
212 extern const struct gen_table set_colorbox_tbl[];
213 extern const struct gen_table set_palette_tbl[];
214 extern const struct gen_table set_pm3d_tbl[];
215 extern const struct gen_table color_model_tbl[];
216 extern const struct gen_table set_hidden3d_tbl[];
217 extern const struct gen_table show_style_tbl[];
218 extern const struct gen_table plotstyle_tbl[];
#==========================================================================
# 程序 核心 命令集
51 const struct gen_ftable command_ftbl[] =
53 { "raise", raise_command },
54 { "lower", lower_command },
56 { "bind", bind_command },
58 { "call", call_command },
59 { "cd", changedir_command },
60 { "clear", clear_command },
61 { "do", do_command },
62 { "evaluate", eval_command },
63 { "exit", exit_command },
64 { "fit", fit_command },
65 { "help", help_command },
66 { "?", help_command },
67 { "history", history_command },
68 { "if", if_command },
69 { "else", else_command },
70 { "load", load_command },
71 { "pause", pause_command },
72 { "plot", plot_command },
73 { "print", print_command },
74 { "pwd", pwd_command },
75 { "quit", exit_command },
77 { "refresh", refresh_command },
79 { "replot", replot_command },
80 { "reread", reread_command },
81 { "reset", reset_command },
82 { "save", save_command },
83 { "screendump", screendump_command },
84 { "set", set_command },
85 { "shell", do_shell },
86 { "show", show_command },
87 { "splot", splot_command },
88 { "stats", stats_command },
89 { "system", system_command },
90 { "test", test_command },
91 { "undefine", undefine_command },
92 { "unset", unset_command },
93 { "update", update_command },
94 { "while", while_command },
95 { "{", begin_clause },
96 { "}", end_clause },
97 { ";", null_command },
99 { NULL, invalid_command }
一共的定义了 接近 500 个的 关键字的 数据表