FORMAT inside of Binding returning '??'
Closed / Invalid8066d8df86334044f7c644332f5b4a27237bbbd9Created 8 years agoUpdated 8 years ago
Descriptionplain2018-12-23 04:43:16
On a Windows 7 Professional SP1 64 bit host, when inside of a <Button-1> binding, [format "%f" "5.0"] returns ?? (literally a string consisting of two question mark characters). Outside of a binding, no issues with the use of the 'format' command are observed. EDIT: Lowered priority as a robust work-around has been identified (wrapping format in a proc located in the main body of the script, and calling the wrapper proc from within the binding's definition)
MegaHurtz Ticket [8066d8df86]: 4 changes
[History diff]2018-12-23 06:33:58
bllplain2018-12-23 22:58:45
The bind command has its own set of % substitution parameters and that conflicts with the format command. You have identified the correct method of using bind.
jan.nijtmans Closed ticket [8066d8df86].
[History diff]2018-12-24 08:59:32
Log in (anonymous is fine) to add a comment.