Open
Description
This issue is for implementing f-strings, inspired by Python: https://docs.python.org/3/tutorial/inputoutput.html#formatted-string-literals
An example how they could work:
character(:), allocatable :: s, text
integer :: i
real :: a
i=1
a=1.123456789
text="this"
s = f"{i} is an integer, {a:1.2f} is a rounded real and '{text}' is text"
print *, s
Previous discussions:
Metadata
Metadata
Assignees
Labels
No labels