home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!oracle!unrepliable!bounce
- Newsgroups: comp.sys.apple2
- From: dpawson@us.oracle.com (Dave Pawson)
- Subject: Random numbers/time
- Message-ID: <1992Sep6.214354.12791@oracle.us.oracle.com>
- Sender: usenet@oracle.us.oracle.com (Oracle News Poster)
- Nntp-Posting-Host: hqsun4.us.oracle.com
- Organization: Oracle Corporation, Redwood Shores CA
- Date: Sun, 6 Sep 1992 21:43:54 GMT
- X-Disclaimer: This message was written by an unauthenticated user
- at Oracle Corporation. The opinions expressed are those
- of the user and not necessarily those of Oracle.
- Lines: 16
-
- Hey folks,
- I'm trying to write a BASIC program for a friend who is a teacher. She has
- an Apple IIe in her classroom. Alas, I'm trying to write without a manual, so
- I have a few "portability" issues.
-
- 1) Time. How do you get the time in Apple IIe BASIC? Is it returned as a
- string or a number?
-
- 2) Random numbers. How do you get a random number from 0 to n?
-
- Any help you could give would be greatly appreciated. I'll try to check in
- here, but mail would be best.
- Thanks!
- Dave
- dpawson@oracle.com
-
-