Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

If and While should support inserts in their conditions #61

Open
Adrodoc opened this issue Mar 6, 2017 · 1 comment
Open

If and While should support inserts in their conditions #61

Adrodoc opened this issue Mar 6, 2017 · 1 comment

Comments

@Adrodoc
Copy link
Owner

Adrodoc commented Mar 6, 2017

If and While should support inserts in their conditions. For instance this program:

install {
  start main
}

String MY_CONSTANT = "this is a constant"

impulse process main {
  if: /say ${MY_CONSTANT}
  then {
    /say then
  }
}

yields the following output:

[@] ${MY_CONSTANT}
[@] then
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant