如下,迭代四次,生成四个随机的日期;
Action()
{
int randnum;
randnum=rand()%4+1;
lr_save_int(randnum,"aa");
lr_output_message(lr_eval_string("{aa}"));
lr_save_datetime("%m-%d-%Y", DATE_NOW + randnum*(ONE_DAY), "next");
lr_output_message(lr_eval_string("{next}"));return 0;
}