presentations/highlight-js/test/detect/gauss/default.txt

29 lines
501 B
Text
Raw Normal View History

2018-12-07 08:48:05 -06:00
// This is a test
#include pv.sdf
proc (1) = calc(local__row, fin);
if local__row;
nr = local__row;
else;
k = colsf(fin);
nr = floor(minc(maxbytes/(k*8*3.5)|maxvec/(k+1)));
endif;
retp(nr);
endp;
s = "{% test string %}";
fn twopi=pi*2;
/* Takes in multiple numbers.
Output sum */
keyword add(str);
local tok,sum;
sum = 0;
do until str $== "";
{ tok, str } = token(str);
sum = sum + stof(tok);
endo;
print "Sum is: " sum;
endp;