b2dSaveFileDialog

Category: File I/O

Syntax:

b2dSaveFileDialog:String(title:String, defaultPath:String)


Parameters

Returns

String



Summary

Shows a save-file dialog, offering JSON files first, then all files. A name with no extension gets .json, and replacing a file is confirmed.

Takes title (String) and defaultPath (String), a folder or a file to start from. It needs b2dGraphics, as on Windows.

Returns the chosen path, or an empty string if cancelled or without b2dGraphics.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn