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.

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


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

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 02:52 AM.

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