|
发表于 2011-5-1 17:47:12
|
显示全部楼层
lingwu cuff 100
Run-time error
World: 领悟技能
Immediate execution
[string "Script file"]:263: attempt to call global 'WindowCreate' (a nil value)
stack traceback:
[string "Script file"]:263: in function 'draw_window'
[string "触发器: "]:5: in main chunk
脚本错误处的上下文:
259 : WINDOW_WIDTH = 220
260 : WINDOW_HEIGHT = (#_basic + 1)*20+10
261 :
262 : -- Create the window
263*: WindowCreate (win, 0, 0, WINDOW_WIDTH, WINDOW_HEIGHT, WINDOW_POSITION, 0, WINDOW_BACKGROUND_COLOUR) -- create window
264 :
265 : -- define the fonts
266 : WindowFont (win, "f1", FONT_NAME1, FONT_SIZE_12)
267 : WindowFont (win, "f2", FONT_NAME2, FONT_SIZE_11)
这个问题,如何解决啊? |
|