点击或拖拽改变大小

IMacroCompilerUsual.CompileCodeblock 方法 (String, Boolean, Module)

X#
Compile a string into a runtime codeblock.

命名空间:  XSharp
程序集:  XSharp.RT (在 XSharp.RT.dll 中) 版本:2.22 GA
语法
METHOD CompileCodeblock(
	macro AS STRING,
	lAllowSingleQuotes AS LOGIC,
	module AS Module
) AS _Codeblock

参数

macro
类型:String
String to compile
lAllowSingleQuotes
类型:Boolean
Should single quotes be allowed
module
类型:Module
Module of the main app

返回值

类型:_Codeblock
A compiled codeblock
参见