本文介绍了简单的脚本不会在LuaEdit的输出中显示任何内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始自己​​学习Lua.我正在使用LuaEdit,但无法测试此简单脚本:

I've just started learning Lua by my own. I'm working with LuaEdit And I can't test this simple script:

print (5)

输出无任何显示.请帮忙.

Nothing shows on the output. Please help.

其他信息:

我正在按照本教程 http://lua.gts-stolberg.de/zh/Mathe.php .它告诉我从此地址 http://sourceforge.net/projects/luaedit/下载LuaEdit .但是,该教程的编辑器提供的选项比我下载的选项多得多,我不知道这是否与它有任何关系,当我添加错误时也不知道:

I'm following this tutorial http://lua.gts-stolberg.de/en/Mathe.php. And it told me to download LuaEdit from this address http://sourceforge.net/projects/luaedit/. However, the editor on the tutorial has a lot more options than the one I downloaded, I don't know if that has anything to do with it, also when I add an error:

print (5)
{

它确实显示了意外的符号语法错误",所以至少我知道它正在尝试运行...或者是吗?请帮忙.为什么输出"窗口中没有显示任何内容?

it does shows an unexpected symbol Syntax Error, so at least I know it's trying to run... or is it? please help. Why doesn't anything show on the Output window?

推荐答案

  1. 确保已保存Lua文件并停止调试.
  2. 单击绿色的开始调试按钮.
  3. 应该出现输出窗格.确保在显示显示输出来源"的窗格中的下拉菜单中选择了"Lua".

这篇关于简单的脚本不会在LuaEdit的输出中显示任何内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-26 11:39