%@ Language=VBScript %> <% Option Explicit %>
<% '******************************************************* ' 初期値設定 '******************************************************* Dim n Dim a_trg_mny Dim a_jko_mny Dim a_bns_mny Dim a_bns_mode_v1 Dim a_bns_mode_v2 Dim a_usr_age Dim a_kinri Dim a_pay_year Dim err_msg Dim rst_msg(6) Dim sg_msg Dim com_err Dim com_rst Dim fst_ok_msg Dim cell_col(6) ' ------------------------------------------------------- a_trg_mny = "" If Request("trg_mny") <> "" Then a_trg_mny = Request("trg_mny") End If a_jko_mny = "" If Request("jko_mny") <> "" Then a_jko_mny = Request("jko_mny") End If a_bns_mode_v1 = "" a_bns_mode_v2 = "" If Request("bns_mode") = "V1" Then a_bns_mode_v1 = "checked" ElseIf Request("bns_mode") = "V2" Then a_bns_mode_v2 = "checked" End If If a_bns_mode_v1 = "" AND a_bns_mode_v2 = "" Then a_bns_mode_v2 = "checked" End If a_bns_mny = "" If Request("bns_mny") <> "" Then a_bns_mny = Request("bns_mny") End If a_usr_age = "" If Request("usr_age") <> "" Then a_usr_age = Request("usr_age") End If a_kinri = Cst_KINRI If Request("kinri") <> "" Then a_kinri = Request("kinri") End If a_pay_year = "" If Request("pay_year") <> "" Then a_pay_year = Request("pay_year") End If ' ------------------------------------------------------- For n = 0 To 5 cell_col(n) = "cell_bgcol_ok" Next com_err = 1 ' 初期表示はコメント(エラー表示) com_rst = 1 ' 初期表示はコメント(結果表示) err_msg = "" For n = 0 To 5 rst_msg(n) = "" Next sg_msg = "" fst_ok_msg = "" ' 計算結果の戻りから If Request("d_mode") = "2" Then If Request("ret_mode") = "1" Then ' 入力エラー com_err = 0 ' エラー表示を有効にする For n = 0 To 5 If Request("errm" & n) <> "" Then If err_msg <> "" Then err_msg = err_msg & "