You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
help() procedure only takes a constant string, but what if I want to change help text depending on the situation? Example:
var helpText ="..."ifnot trueColorSupport:
helpText &="\nWARNING: your terminal emulator does not support true colors"var parser = newParser:
help(helpText)
...
The text was updated successfully, but these errors were encountered:
Since the parser is generated at compile-time, if you're able to build up the string during compile time, it will work. I can see the value in what you're asking though. Perhaps help() could be made to also accept a zero-argument function.
help() procedure only takes a constant string, but what if I want to change help text depending on the situation? Example:
The text was updated successfully, but these errors were encountered: