@YuHayate you’re passing 0 for start and end volume
1 Like
oh darn I’m dumb sometimes
hey @richard !! how do i make this work! im not sure about the sintax (the function works, just not the translating into Chinise (Simplified) and Spanish (Spain) ones)
//% block="throw error $error" // English
//% block.loc.zh="抛出错误 $error" // Simplified Chinese
//% block.loc.zh-tw="拋出錯誤 $error" // Traditional Chinese
//% block.loc.de="Fehler werfen $error" // German
//% block.loc.fr="lancer une erreur $error" // French
//% block.loc.ja="エラーを投げる $error" // Japanese
//% block.loc.es="lanzar error $error" // Spanish (Spain)
//% block.loc.es-mx="lanzar error $error" // Spanish (Mexico)
//% block.loc.ru="выдать ошибку $error" // Russian
//% error.shadow="text"
export function throwError(error: any) {
if (error !== "") {
throw JSON.stringify(error);
}
}
yeah thats me deciding to not look anything up before asking for help…
1 Like
A post was merged into an existing topic: Anniversaries, Cake Days, and other Celebrations