IMacroCompilerUsual.CompileCodeblock 方法 (String, Boolean, Module) | |
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
_Codeblock CompileCodeblock(
string macro,
bool lAllowSingleQuotes,
Module module
)
参数
- macro
- 类型:String
String to compile - lAllowSingleQuotes
- 类型:Boolean
Should single quotes be allowed - module
- 类型:Module
Module of the main app
返回值
类型:
_CodeblockA compiled codeblock
参见