View Single Post
Old 10-10-2022, 01:43 PM   #39
un_pogaz
Chalut o/
un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.
 
un_pogaz's Avatar
 
Posts: 411
Karma: 145324
Join Date: Dec 2017
Device: Kobo
Quote:
Originally Posted by chaley View Post
[*]Stored GPM templates are callable with arguments.
What? You can we pass arguments to the GPM?
*look and test*
Code:
program: arguments(arg0=0, arg1=1, arg2=2);
return strcat(arg0,' | ',arg1,' | ',arg2);
Code:
program: _test('gfgfgh', 456)
>> gfgfgh | 456 | 2

O_o HOLY SH**!!!!
But it's killer!! It changes so much all... Oh god.

*look the manual* Ugh, I missed it. Well, I need to re-read this page again.

Quote:
Originally Posted by chaley View Post
The implementation is in my github repo. I did a pull request and am waiting for feedback from Kovid.
Nice, a open pull request for improve the highlight and some fix.

Last edited by un_pogaz; 10-10-2022 at 01:45 PM.
un_pogaz is offline   Reply With Quote