⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testingcase03.js

📁 《脚本驱动的应用软件开发方法与实践》源码
💻 JS
字号:
//*****************************************************************************
// A Practical Guide to Script-Driven Software Development
// Author: Qiming Lu                        Date: 5/1/2006
//*****************************************************************************

// Testing Case 3: pass C++ objects to scripts
Debugger.addBlankLine(1);
Debugger.trace("Testing Case 3", "pass C++ objects to scripts");

var whatEngine = Application.car.engine.brand; // create objects
Debugger.trace("Info", "Got value of Application.car.engine.brand: " + whatEngine);
Application.car.engine.run();

var newWheel = Application.car.createWheel("KUMHO", "black"); // create a new object
newWheel.adjustParameters("new", 1, 2);

⌨️ 快捷键说明

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