It looks like you're new here. If you want to get involved, click one of these buttons!
Example usage: (set: $name to (prompt: "Your name, please:", "Frances Spayne"))
1 too many values were given to this (prompt:) macro.► The (prompt:) macro must only be given a string.
Comments
eg. 2.0.0 or one of the 1.x versions.
I tested your example using v2.0.0 and it works correctly.
The example does not work when using any release of Harlowe 1.x because their implementation of the (prompt:) macro does not support passing a default value, and passing one will result in the error message you received.
note: I know the current v1.2.3 (prompt:) documentation states it does support the default value parameter but unfortunately it is showing a copy of the relevant section of the v2.0.0 documentation.
I was using the bad, i mean the old, version of Harlowe.
With Harlowe 2, no problem!
All my best,
David