Just added the math utility. 
It only supports 16-bit unsigned integer based math.
And only very simple math at that.

It’s intent is to be able to do things like calculate mid-point on screen less 
5 and other V8PT related stuff.

vgotoxy eop
vgotoxy /qY | set /p ROWS=
vmath %ROWS% div 2 sub 5 | set /p RESULT=

Or you can count from 1 to 10 slowly like this:

set EX07_COUNTER=1
vecho "Counting to 10"
:LoopBatch
vecho /bGray /f %EX07_COUNTER% %EX07_COUNTER%
vmath %EX07_COUNTER% + 1 | set /p EX07_COUNTER=
if not "%EX07_COUNTER%" == "11" goto LoopBatch


------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to