← index
ats.web/source/func_list.cpp
Source: ats.web/source/func_list.cpp
#include "function.hpp"

namespace token {
    void token_List(const std::string &command, std::vector<lex::Token> &v) {
        for(auto i = interp::lines.begin(); i != interp::lines.end(); ++i) {
            stream << std::dec << i->index << " " << i->text << "\r\n";
        }
        stream << "\r\nProgram contains " << std::dec << interp::lines.size() << " lines of code\r\n";
    }

}