sherr.cpp
来自「Shorthand是一个强大的脚本语言」· C++ 代码 · 共 19 行
CPP
19 行
///////////////////////////////////////////////////////////////////////////////
// $Header: /shorthand/src/sherr.cpp 2 8/28/02 6:27a Arm $
//-----------------------------------------------------------------------------
// Project: ShortHand interpreter
// Author: Andrei Remenchuk <andrei@remenchuk.com>
//-----------------------------------------------------------------------------
// sherr.cpp: ShortHand error formatting functions
///////////////////////////////////////////////////////////////////////////////
#include "sherr.h"
/**
* Pastes ShortHand error code (possibly containing hyperlink)
* into string.
*/
void shh_error_href(int code, string& s)
{
s.printf("<a href=\"http://sammoses.com/shorthand/dev/errors.shh?sherror=%04d\">%04d</a>", code, code);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?