Nonoblock: Difference between revisions
Content added Content deleted
Line 916: | Line 916: | ||
rightspace = numblanks - length(header) |
rightspace = numblanks - length(header) |
||
if isempty(allbuthead) |
if isempty(allbuthead) |
||
push!(result, rightspace <= 0 ? header[1:numblanks] : header * "." ^ rightspace) |
|||
push!(result, header[1:numblanks]) |
|||
else |
|||
push!(result, header * "." ^ rightspace) |
|||
end |
|||
elseif minlen(allbuthead) == rightspace |
elseif minlen(allbuthead) == rightspace |
||
push!(result, header * minsized(allbuthead)) |
push!(result, header * minsized(allbuthead)) |
||
Line 976: | Line 972: | ||
No solution |
No solution |
||
</pre> |
</pre> |
||
=={{header|Kotlin}}== |
=={{header|Kotlin}}== |