On 18 April 2017 at 05:20, G 3 <programmingk...@gmail.com> wrote:
> Is there a way to define a constant in a .risu file? Something like this:
>
> my $upper_imm_limit = 500;

No - the risu file is just a bunch of patterns, with a
few fragments of executable code mixed in.

Currently constants defined in the perl source will
be visible to the perl fragments in the risu file,
but that's pretty ugly and one day I'll make it
a requirement that the perl explicitly exports the
functions/constants the risu fragments should see.

thanks
-- PMM

Reply via email to