mygroup.ogs

来自「图像处理的压缩算法」· OGS 代码 · 共 25 行

OGS
25
字号
/*------------------------------------------------------------------------------*
 * File Name: MyGroup.OGS														*
 * Creation: GJL 7/03/2003														*
 * Purpose: Scripts to be called from the MyGroup toolbar						*
 * Copyright (c) OriginLab Corp.	2003-2007									*
 * All Rights Reserved															*
 *------------------------------------------------------------------------------*/

[ExecuteOCFunction]
// Compile and link Origin C ProgressBox.c
%A="Samples\Programming\";
%B="User Interface Development\ProgressBox.C";
if( run.LoadOC(%Y%A%B) != 0 )	
{
	type -b "ProgressBox.C failed to load.";
	return 1;
}
// Execute Origin C Progress function
Progress(0,20);
return 0;

[ExecuteLabTalkSection]
// Execute script
type -b "Execute a section of LabTalk script"; 
return 0;

⌨️ 快捷键说明

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