Jump to content

Move-to-front algorithm: Difference between revisions

No edit summary
Line 1,410:
 
To extract information to clipboard we use global variables, is handy;
 
Number pop a number from stack of values, if no number found then raise error.
 
<lang M2000 Interpreter>
Line 1,451 ⟶ 1,453:
Sub TryThis(a$)
Local Out$=Encode$(a$)
Local final$=Decode$(Out$ )
Print final$
End Sub
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.