예제 #1
0
            public string get_cmt(int n)
            {
                var s = ListUtil.Get(br_cmt_list, n);

                if (s == null)
                {
                    return(string.Empty);
                }
                return(s);
            }
예제 #2
0
            public string get_chart_val(int row, int col) // base 1
            {
                chart_init();

                var state = ListUtil.Get(m_chart_state_list, col - 1);
                var name  = ListUtil.Get(m_chart_name_list, row - 1);

                if (row == STATE_ROW)
                {
                    return(state);
                }
                if (col == NAME_COL)
                {
                    return(name);
                }

                var v = get_val(state, name);

                return(v);
            }
예제 #3
0
            public string get_api(int n)
            {
                var s = ListUtil.Get(br_api_list, n);

                if (s == null)
                {
                    return(string.Empty);
                }

                if (s.StartsWith("brif"))
                {
                    return(string.Empty);
                }
                if (s.StartsWith("brelseif"))
                {
                    return(string.Empty);
                }
                if (s.StartsWith("brelse"))
                {
                    return("else");
                }

                return(s);
            }