One more go on this...
On Tue, Mar 21, 2023 at 1:53 PM Sven Schreiber
<sven.schreiber(a)fu-berlin.de> wrote:
<hansl>
function void level2 (string s2)
eval exists(s) ? s : "nothing"
end function
[ BTW note confusion between s2 and s here ]
function void level1 (string s1[null])
if !exists(s1)
string s1 = null # this second null-setting is necessary
endif
level2(s1)
end function
level1()
</hansl>
The second null-setting is never necessary. Revised version:
<hansl>
function void level2 (string s2[null])
eval exists(s2) ? s2 : "nothing"
end function
function void level1 (string s1[null])
level2(exists(s1) ? s1 : null)
end function
level1()
</hansl>
Allin