我有一些我应该作为作业处理的代码。但我无法弄清楚它是写在什么上面的。我通常用 c# 编写代码,但这就像我从未见过的一样。
<cust_name "Reservations Cancelled Report">
<start_form "CANCRESV">
< t = 51>
<set_field n = 50>
<set_field o = 200>
<set_field h = 1300>
<set_print_lines = 55>
<loop>
<concat {t[1]} = {3}>
<box 10,10,14,70>
<writpos 0,12,20, "Reservation cancellations for : ">
<getfield 5,2,12,52,9,1>
<if {20[{t[1]}]} >= 0>
<calc {n[1]} = {20[{t[1]}]}>
<break_loop>
<end_if>
<error "Invalid date">
<end_loop>
<concat {t[2]} = "16,'" + {26[{20[{t[1]}]}]} + "'">
<exec {h2[{t[2]}]}> ! Init for Reservation history search
<loop until_last_page>