On 2/3/25 16:46, Hill Strong wrote:
> So what you are saying is that the pile [some other stuff] is the
argument
> to the previous {return}?
The structure of this particular code is like this:
1 if (ei_ci_chi or nm = 'dilog) and ord = 0 and
2 (ord := order(ups, 1::Expon)) > 0 then return
3 not(opt_rec.log_x_replace) or not(can_integrate_uts) =>
4 stateProblem(string(nm), "expansion at 0")
5 ord := order(ups)
6 lc := coefficient(ups, ord)
7 (signum := sign(lc)$SIGNEF) case "failed" =>
8 ...
9 else if ... then return
Line 2 is more indented than line 1 and therefore internally
concatenated to the end of line 1.
Line 4 is more indented than line 3, so it is concatenated to line 3.
After that lines 3,5-8 are indented to the same amount and more than
line 1, so they form a block that can basically be thought of as appending
(line 3; line 5; line 6; line 7; line 8)
to the end of line 1+2. That gives then exactly what you say:
lines 3-8 ar the argument of return.
Ralf
--
You received this message because you are subscribed to the Google Groups "FriCAS -
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to fricas-devel+unsubscr...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/fricas-devel/33033b41-9746-4775-bc6a-eb8e212ae96f%40hemmecke.org.