🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #15927

Re: VB ... randomize

#15927
From: Briachons
Date: Thu, 20 Jul 2000 00:00
26 lines
1406 bytes
On Thu, 20 Jul 2000 15:03:16 GMT, Scruta wrote :

> Hey, ik zou graag een willekeurig getal kunnen kiezen tussen 2 getallen.
> Dus minstens 10 en maximum 20 bv...
> 
> Hoe zat da nu weer met die bovengrens en ondergrens???
> => met Rnd
> 
> Thnx!


De vb randomizer geeft terug 0 =< x < 1
dus moet je 
	ondergrens + [ x * ( boven - onder) ] doen

zie ook de help (onder de F1 toets :)


-- 
Briachons 
(remove the nospam. in my mailaddress)

FORTUNE DISCUSSES THE OBSCURE FILMS!	#6

RAZORBACK:			Paul Harbride, 1984, 2 hours 25 min.
	One of the great Australian films of the early 1980's, and arguably the best movie ever made about a large, man-eating 	hog. Some violence. With Gregory Harrison.
Technical Details
Message-ID: <8h5enskt9q1a2vj3elp6qa590g5gsgbaa5@4ax.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <UwEd5.76879$Ji7.1348443@afrodite.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,531e37a88e9a4d2c
X-Google-Attributes: gidfcea4,public
From: Briachons <nospam.Briachons@yahoo.com>
Subject: Re: VB ... randomize
Date: 2000/07/20
Message-ID: <8h5enskt9q1a2vj3elp6qa590g5gsgbaa5@4ax.com>
X-Deja-AN: 648638036
Content-Transfer-Encoding: 7bit
References: <UwEd5.76879$Ji7.1348443@afrodite.telenet-ops.be>
Content-Type: text/plain; charset=us-ascii
X-Trace: afrodite.telenet-ops.be 964105906 213.224.109.184 (Thu, 20 Jul 2000 17:11:46 MET DST)
Organization: Briachons International No-good
MIME-Version: 1.0
NNTP-Posting-Date: Thu, 20 Jul 2000 17:11:46 MET DST
Newsgroups: be.comp.programming