On Sat, Aug 26, 2017, at 11:43, Mark Volkmann wrote: > Is is correct to say that in fish all variable values are strings? > > For example, > set pi 3.1415928 > string length $pi # 9 > > Is that because the value is actually stored as a string or > does it convert it from a number to a string when "string length" is called > on it?
I am not a fish programmer, but my somewhat educated guess is: yes all values are stored as strings. This is how many other shells work too. ------------------------------------------------------------------------------ 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