Merged with upstream. Updated M (aka MUMPS) detection to use the new bayesian / samples method.

This commit is contained in:
Laurent Parenteau
2013-03-14 11:33:09 -04:00
472 changed files with 179182 additions and 1762 deletions

19
samples/M/forloop.m Normal file
View File

@@ -0,0 +1,19 @@
start1 ; entry label
set a=1
set b=20
set c=2
set sum=0
for i=a:c do quit:'(i<b)
. set sum=sum+i
. write i," : ",sum,!
quit
start2 ; entry label
set a=1
set b=20
set c=2
set sum=0
for i=a:c:b do
. set sum=sum+i
. write i," : ",sum,!
quit