我知道在 livecode 中你可以做一个数据库类型的应用程序 a) 作为 HyperCard 中的卡片集合或 b) 使用 SQLite 等 SQL 数据库引擎。在 Hypercard (a) 中,无需保存输入数据字段的数据。在 livecode 中,我需要使用“文件/保存”在开发模式下保存数据。如何将数据保存在基于卡片的独立应用程序中。这可能吗?
2 回答
是的,您可以使用“保存”命令将堆栈状态保存在代码中。但是,要在构建的独立环境中执行此操作,您需要通过使用启动器启动堆栈来进行一些争论,如本课所述:
The executable is never saved. The usual way LC standalones manage this is to create a "splash" stack, which may have a use or not, be visible or not, and contain useful data. Or not. But it is the executable.
And then as many other stacks, substacks and other resources are attached to that stack file as might be required, and all these can be saved. The reason the executable is called a "splash" is because it might appear as an intro window at startup, only to be dismissed in order to get the real work done.
Craig Newman