Skip to content

Unsupported functions

InputBox

The InputBox function can't be used in VoltScript, because there are no UI elements to display the content.

MessageBox

The MessageBox or MsgBox function and statement should be avoided. VoltScript is designed to run as middleware, so a prompt that blocks processing and requires user interaction will have unexpected outcomes. The --headless option when running VoltScript can convert any MessageBox calls into Print statements. The best practice is to avoid using MessageBox.