Linear congruential generator: Difference between revisions

m
→‎{{header|Batch}}: Batch -> Batch File
m (→‎{{header|Batch}}: Batch -> Batch File)
Line 363:
30612</pre>
 
=={{header|Batch File}}==
<syntaxhighlight lang="batchdos">@echo off & setlocal enabledelayedexpansion
@echo off & setlocal enabledelayedexpansion
 
echo BSD Rand
Line 388 ⟶ 387:
set p2= %2
echo %p1:~-2% %p2:~-10%
goto:eof</syntaxhighlight>
</syntaxhighlight>
'''Output:'''
<pre>
535

edits