Feature write{}

So, I'm not exactly sure what the markup off the top of my head is, but something like
Code:
cli_execute{
do all
sorts of
stuff here
}
allows you to do a bunch of cli in ash with no hassle.

Would it be possible to get an equivalent for write(); for making large chunks of HTML/CSS/JS output?
 

StDoodle

Minion
Well, the actual markup would be cli_execute(), with a string parameter. Which is exactly how write() works as well, so.... huh?
 

Bale

Minion
bordemstirs is correct about cli_execute { ... } allowing you to enter any number of cli commands with line breaks acting as breaks between CLI commands. This is not well known, but it is correct.. This is in addition to the usage of cli_execute("command") that you are familiar with. It looks like this:

Code:
cli_execute { eat  * peach pie; drink * primitive beer;
adventure * airship
maximize adv
}

I'll admit that write { } would be useful for entering large chunks of html markup in a relay script.
 
Last edited:
Top