mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Merged with upstream. Updated M (aka MUMPS) detection to use the new bayesian / samples method.
This commit is contained in:
9
samples/M/fibonacci.m
Normal file
9
samples/M/fibonacci.m
Normal file
@@ -0,0 +1,9 @@
|
||||
start ; compute the Fibonacci series
|
||||
set (a,b)=1
|
||||
for i=1:1 do quit:term>100
|
||||
. set term=a+b
|
||||
. write !,term
|
||||
. set a=b
|
||||
. set b=term
|
||||
write !,"Result= ",term,!
|
||||
quit
|
||||
Reference in New Issue
Block a user