Hi,

For the following script,

// test.fish
set -l KK 3

function main
    echo $KK
end

main

// file ends...

echo $KK will give nothing.

My question is, for "set -l KK 3".   What does the -l (local) mean here?

-- 
Best,
Shiyao

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to