createMain#

创建一个主函数#

图块代码

../../_images/createMain.png

javascript

var main = function(params){
  return jih_doc
}

python

import jihengine
def main(params):
  return jih_doc

npl

local main = function(params)
  return jih_doc
end

示例#

var main = function(params){
  return jih_doc
}
import jihengine
def main(params):
  return jih_doc
local main = function(params)
  return jih_doc
end