AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to BAT Magic  <--  <--- Return to Home Page
   Local Database  BAT Magic   [147 / 250] RSS
 From   To   Subject   Date/Time 
Message   Joe    Visitor   Random numbers   October 21, 1995
 11:00 AM *  

Regarding The Subject Of:� Random numbers
 �������������������������                                                      

These are your words� ������������������������
 ��������������������
Here is a little program for generating a random number between 0
and 99.
Sample batch:
@echo off
RAND > RandNum.bat
call RandNum
echo The random number placed in the environment is %RAND%.
-+[Cut here]+----------------------------------------------------------
 n RAND.COM
 a
 MOV    AH,2C
 INT    21h             ;Time
 MOV    AL,DL
 PUSH   AX
 PUSH   AX
This is my response� ������������������������
 �������������������
Did you do this program from scratch? For those of us that don't read assembly
code can you explain how it works? By your comment in the code I would guess
that it is pseudo-random seeded by the time.
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to BAT Magic  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0136 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.1.241108