fileImportWebResult

Category: File IO

Syntax:

fileImportWebResult:String()



Returns

String



Summary

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



Example
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