PowerBASIC Peer Support Forums
 

Go Back   PowerBASIC Peer Support Forums > Announcements, Articles and Support FAQs > PowerBase

PowerBase Programmer's database keeps you apprised of issues in current PowerBASIC products.

Reply
 
Thread Tools Display Modes
  #1  
Old May 13th, 2006, 10:12 AM
Bob Zale Bob Zale is offline
Administrator
 
Join Date: Sep 1998
Location: Venice, FL USA
Posts: 3,838
PowerBASIC Win32 Compilers 4.01/8.01

RND(a,b)

This version of the RND function returns a random integer value in the range of a through b. Contrary to statements in the documentation, it was designed for use only with positive integer parameters. If either parameter is negative, an invalid result may be returned. You should limit usage to positive numbers in this version.

This function will be expanded to work with negative values in the next release of these compilers.


------------------
__________________
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:40 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1999-2011 PowerBASIC, Inc. All Rights Reserved.
Error in my_thread_global_end(): 1 threads didn't exit