Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Roku では、フォルダ内の一時ファイルからデータを読み書きするにはどうすればよいtmp:ですか? これに関するドキュメントは見つかりません。保存しているデータが大きすぎてレジストリに保存できません。
tmp:
tmp:/フォルダーからデータを読み書きする単純な関数が 2 つあります。
tmp:/
ReadAsciiFile(文字列としてのファイルパス) を文字列として
text=ReadAsciiFile("tmp:/config.txt")
WriteAsciiFile(文字列としてのファイルパス、文字列としてのテキスト) をブール値として
WriteAsciiFile("tmp:/config.txt", "the text to write")
ソース内の詳細なドキュメント。
ソース: http://sdkdocs.roku.com/display/sdkdoc/BrightScript+Language+Reference#BrightScriptLanguageReference-78ReadAsciiFilefilepathasStringasString