Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format strings #8

Open
Vardan2009 opened this issue Jul 29, 2024 · 0 comments
Open

Format strings #8

Vardan2009 opened this issue Jul 29, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Vardan2009
Copy link
Collaborator

Syntax

~ backticks are used for format strings
message = `text {<expression>} more text`
x = 10
y = 5
op = "/"
emitln(`{x} {op} {y} = {calculate(x,y,op)}`)
@Vardan2009 Vardan2009 added the enhancement New feature or request label Jul 29, 2024
@Vardan2009 Vardan2009 added the help wanted Extra attention is needed label Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant