Content deleted Content added
Petelomax (talk | contribs)
Petelomax (talk | contribs)
m replace <lang> with <syntaxhighlight>
Line 93:
:Thanks, but m>=n, so changing it would only ever result in (m-n) null j-loops. I can see why you needed it for VBA though. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 12:22, 15 March 2019 (UTC)
:Oh, be warned the distribution copy contains this, which I've now copied into the rc page, and the extended loops of your VBA solution may be subject to a similar issue:
<syntaxhighlight lang="phix">
<lang Phix>--
--
-- Programming note: The code of this main loop was not as easily
-- written as the first glance might suggest. Explicitly setting
Line 113 ⟶ 114:
-- end for
Q = matrix_mul(Q,q)
end for</lang>
</syntaxhighlight>
 
 
Line 120 ⟶ 122:
Your '''Phix''' programming solution was &nbsp; ''exactly'' &nbsp; the minimalist type of entry that I was aiming for in regards to that task's requirements. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 19:10, 24 March 2020 (UTC)
:Heh, originally I had it doing this:
<syntaxhighlight lang="phix">
<lang Phix>fmt = """Last revision: %s (%s)...
include builtins\timedate.e
timedate td = parse_date_string(last_updated,{"Mmmm dth, yyyy"})
Line 126 ⟶ 129:
string age = iff(d=0?"today":elapsed(d)&" ago")
 
printf(1,fmt,{last_updated,age,length(elements),elements[$]})</lang>
</syntaxhighlight>
: before deciding that stuff just gets in the way. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 21:52, 24 March 2020 (UTC)