diff --git a/site/docs/chapter-05-gbdialog-reference.md b/site/docs/chapter-05-gbdialog-reference.md index 3885cf08..d0d5bc91 100644 --- a/site/docs/chapter-05-gbdialog-reference.md +++ b/site/docs/chapter-05-gbdialog-reference.md @@ -76,7 +76,7 @@ To organize the instructions functionally, I'll group them into five categories: | HEAR _variable_ AS FILE | Returns a file uploaded by the user to be saved. |
HEAR file AS FILE 
SAVE file AS "uploads/myfile.pdf"
TALK "File uploaded and saved."
| | HEAR _variable_ AS AUDIO | Returns an audio file uploaded by the user to be saved. |
HEAR audio AS AUDIO 
SAVE audio AS "recordings/audiofile.mp3"
TALK "Audio received and saved."
| | INCLUDE file | Includes a file into .gbdialog. |
INCLUDE "script.gbdialog" 
TALK "File included."
| -| UPLOAD file | Uploads a file to a storage blob, like Azure Storage. |
UPLOAD "                                                                                                        |
+| UPLOAD file              | Uploads a file to a storage blob, like Azure Storage.   | 
UPLOAD "                                   
| path/to/file.pdf"
TALK "File uploaded to cloud storage."
| | DIR path | Returns a list of files in the specified directory. |
files = DIR "uploads/" 
TALK "Files in directory: " + files.
|