Something like Python fstring or Rust ! which compiles to a series of join statements. For example:
warn (!"Out of bounds: ({xpos}, {ypos})");
Which would compile to:
Currently this has to be achieved by:
warn ("Out of bounds: (" & xpos & ", " & ypos & ")");
This isn't too bad but the unwieldiness stacks up if you are writing many lines like this, such as for debugging.
Having some string formatting syntax would be of great assistance.
Something like Python fstring or Rust
!which compiles to a series of join statements. For example:warn (!"Out of bounds: ({xpos}, {ypos})");Which would compile to:
Currently this has to be achieved by:
warn ("Out of bounds: (" & xpos & ", " & ypos & ")");This isn't too bad but the unwieldiness stacks up if you are writing many lines like this, such as for debugging.
Having some string formatting syntax would be of great assistance.