On Thu, Jan 12, 2023 at 6:46 AM Sven Schreiber <sven.schrei...@fu-berlin.de> wrote: > > sorry, here's again one of my crazy syntactic sugar ideas: I think it would > be nice if hansl had a more concise way of writing a basic if-endif block, > where the thing to be executed is just a single line.
I agree; this is something I've thought about from time to time. I kinda like the fortran approach to the one-liner: if <condition> then <whatever> which would require "then" as a new keyword. We can discuss this when we next get a chance. Allin _______________________________________________ Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it Website: https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/