Skip to content
  • rswindell's avatar
    Add STRVAR:<variable-name> @-code · 4ca595c8
    rswindell authored
    It's a hack, but since both Nelgin *and* Mortifis asked for it...
    If a string variable is defined in the current command-shell, you may display
    that variable's current value using this @-code. This does not work for integer
    variables (do you need that too?) and does not work for any other Baja modules
    that are executed (e.g. executed *from* a command shell).
    Note that Baja, by defaults converts variables names to all-CAPS during the
    "compilation" phase (unless the "baja -c" option is used), so you'll want to
    either specify the variable name in ALL-CAPS or (if "baja -c" was used), match
    the capitalization used in the .src file.
    4ca595c8