让我们使用本网站第一部分的代码。我没有看到类声明,并且我的程序无法在 FlashDevelop 中构建。我收到以下错误消息:
Error: A file found in a source-path must have an externally visible definition. If a definition in the file is meant to be externally visible, please put the definition in a package.
Build halted with errors (fcsh).
为了能够构建和运行它,我应该怎么做?