testingcase10.js

来自「《脚本驱动的应用软件开发方法与实践》源代码下载」· JavaScript 代码 · 共 19 行

JS
19
字号
//*****************************************************************************
// A Practical Guide to Script-Driven Software Development
// Author: Qiming Lu                        Date: 5/1/2006
//*****************************************************************************

// Testing Case 10: retrieve variables and invoke functions of scripts from the C++ side
Debugger.addBlankLine(1);
Debugger.trace("Testing Case 10", "set/get value to script variables");
Debugger.trace("Testing Case 10", "invoke script functions");

var BOOK_TITLE = "A Practical Guide to Script-Driven Software Development";
var bookCount  = 5000;

function showMessage(msg)
{
	Debugger.trace("showMessage", msg);
}

Application.reviewScripts();

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?