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

📄 ex-include.ulp

📁 老外的PCB设计软件,是免费的.可以上网更新.
💻 ULP
字号:
#usage "<b>Example: Usage of include file</b>\n"
       "<p>"
       "Demonstrates how to use the include file 'useful-routines.ulp'."
       "<p>"
       "<author>Author: support@cadsoft.de</author>"

// THIS PROGRAM IS PROVIDED AS IS AND WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED

#include "useful-routines.ulp"

int Result;
string s1, s2, h;

s1 = "DISLAY ALL;\n";
s2 = get_ulp_name();
Result = edit_save_execute(s1, s2);
sprintf(h, "Result: %d", Result);
dlgMessageBox(h, "OK");

dlgMessageBox("ULP path: "+get_ulp_path(),"OK");

dlgMessageBox("Project path: "+get_project_path(),"OK");

⌨️ 快捷键说明

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