⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 embed.tpl

📁 在手机操作系统symbina上使用的一个脚本扩展语言的代码实现,可以参考用于自己的开发
💻 TPL
字号:
INCLUDE "sstore.oxh"

PROC main:
	LOCAL storeId%, streamId&, error%, uId&, storeId2%, streamId2&
	LOCAL string$(255), intvalue%, longvalue&, floatvalue
	intvalue% = 1
	longvalue& = 2
	floatvalue = 3
	string$ = "Test string"
	uId& = 268435718

	storeId% = SsCreateStore%:("mystore", KStoreDirectFile%, KDirectFileStoreLayoutUid&, 0, 0, 0)
	print "SsCreateStore", storeId%

	storeId2% = SsCreateStore%:("mystore2", KStoreDirectFile%, KDirectFileStoreLayoutUid&, 0, 0, 0)
	print "SsCreateStore", storeId2%

	storeId% = SsCreateStore%:("mystore3", KStoreDirectFile%, KDirectFileStoreLayoutUid&, 0, 0, 0)
	print "SsCreateStore", storeId%

	error% = SsCloseStore%:(storeId2%)
	print "SsCloseStore", error%

	streamId& = SsCreateStream&:(storeId%)
	print "SsCreateStream", streamId&

	storeId2% = SsCreateEmbedStore%:(storeId%, streamId&, 0)
	print "SsCreateEmbedStore", storeId2%

	streamId& = SsCreateStream&:(storeId%)
	print "SsCreateStream", streamId&

	storeId2% = SsCreateEmbedStore%:(storeId%, streamId&, 0)
	print "SsCreateEmbedStore", storeId2%

	get
ENDP

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -