Category:S-lang: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 27:
should "eat" it:
 
() = printf("S-Lang: %d tasks and counting!\n", 1723);
 
() = fputs("foothe quality of mercy is not strnen\n", stdout);
You can approximate print() with the following; NOTE the capital-S, which implicitly calls
the string() function to convert-or-describe non-strings as strings:
 
define print(foo) { () = printf("%S\n", foo); }
S-Lang is the extension language for the lightweight Emacs-like
[http://www.jedsoft.org/jed/ programmer's editor Jed]. There, the
Anonymous user