Thread:User talk:CodeCat/Help with Code

I have realized that of those "-е" verbs that have "-т" adjectival particles, the perfective ones have the "-ат" suffix whereas the imperfective ones have the "-ет" suffix, as opposed to what I'd assumed previously, i.e. that all of them have the "-ат" suffix. Anyway, I am now trying to write a code for this in the templates and it's not working. I was hoping you could tell me what's wrong and what I'm supposed to write instead.

Originally, I had  , based on what you wrote for the "-а" verbs, which worked fine, but was only correct for the perfective verbs. Therefore, I tried to fix it by coding it to check whether a verb is perfective or imperfective and then select "-ат" or "-ет" based on that. To do this, I wrote  .

Anyway, this is how I understand this function to work:

1. - says which parameter the function is supposed to be activated by

2. || - determines what's supposed to be printed if "tap" is activated (i.e. is set as equal to 1).

3. |ен}} - determines what's supposed to be printed if "tap" is not activated (i.e. is not set as equal to 1).

Now, in the second parameter, i.e. the one determining what's supposed to be printed if "tap" is activated, I've integrated another whole function, but of another type. This is how I understand this one:

1. - says which parameter the function is supposed to be activated by

2. |pf| - says what the aforementioned parameter should be equal to

3. |ат| - determines what's supposed to be printed if the is equal to "pf"

4. |ет}} - determines what's supposed to be printed if the is not equal to "pf".

Thus, I figured that once this function is evaluated accordingly, the original one (the one that includes this one) would be produced as either:

1.

or

2.

Then, this would be evaluated into the conjugation table, just like the original was and still is for the other verb classes. However, when I entered   for the verb "стане", I got "станет" rather than "станат" as the adjectival participle. So, what is/are the mistake(s)?

Thank you in advance