...but BlitzMax will not allow the use of the ~ symbol in LoadBank().
The tilde (~) character is the BlitzMax escape sequence identifier. It allows you to easily add special characters to string literals such as tab (~t);new line (~n); or a speechmark (~q).
Therefore, if you want to get the actual tilde character '~' in a string literal, you will have to use '~~', which is converted by the BlitzMax compiler to a single tilde. (See the bottom of the Literals section in the BlitzMax docs, Help > Language > Literals .