[ Last edited by lanxn on 2004-10-27 at 09:54 ]作者: 生如火花 时间: 2004-10-27 10:19
In the following example, the values of the timeout and delay test options are set for the duration of a batch test run. After the run, the previous values are restored.
static old_t,old_d;
# Saves the original timeout values in the "old_t" variable.
old_t = getvar ("timeout");
# Saves the original delay values in the "old_d" variable.
old_d = getvar ("delay");
# Set the values of timeout and delay for a batch test.