Category: File IO
Syntax:
fileImportWebResult:String()
String
The answer to fileImportWeb.
Returns "" while nothing has happened yet; then, once, the stored file's name - or "*cancelled*" if the user cancelled (or the file was too big for the web file store).
View detailed documentation online
Local name:String = fileImportWebResult()
If name = "*cancelled*" Then
status = "No file chosen"
ElseIf name <> "" Then
Local f:Int = fileReadFile(name)
status = "Loaded " & fileReadLine(f)
fileCloseFile(f)
EndIf
BambooBasic © 2026 Michael Denathorn