English
Forum

Done: Random Rectangle

 

Roberto
Neu
How can Rectangle random malen the always whom to the Program opens one Program made becomes??
For this need one certainly Randomize and these characters "",""
 
07/17/09  
 




Nico
Madysa
You must only on Rectangle casually Parameters transfer.
The function Rnd() gives casually numbers from.
Randomize sorgt for, that the numbers really random are.
The restlichen Info stand in the Help, time see, whether dus create.

Greeting
Nico
 
Nico Madysa
07/17/09  
 




Roberto
Neu
then comes by me always the out
CompileMarkSeparation
randomize
windowtitle "Microkosmos"
window 10,10 - 700,600
useFont "Arial",26,0,0,0,0
rectangle @RND(10 + 1) -1
waitke
 
07/17/09  
 




Roberto
Neu
One very very small Tipp perhaps
 
07/17/09  
 




Nico
Madysa
already not so bad, You verbesserst you. two Proposals.
1. look you in the Help once more The Description To Rectangle on and screen, whether You whom commands correctly. verwendest.
2. its of course no must, still usually standing end one Quelltextes always end.
 
Nico Madysa
07/17/09  
 




Roberto
Neu
need one there not 4x @ RND because one must Yes for X1,X2,Y1,Y2 a Züfällige number make?
I Have the time so made sees but not correctly. from
CompileMarkSeparation
randomize
windowtitle "Microkosmos"
window 10,10 - 700,600
rectangle @RND(10 + 1) - 1 - @RND(10 + 1) - 1 - @RND(10 + 1) - 1 - @RND(10 + 1) - 1
waitkey
en
 
07/17/09  
 




CompileMarkSeparation
rectangle (rnd(700)),(rnd(600)) - (rnd(700)),(rnd(600))
>
 
07/17/09  
 




Nico
Madysa
means iF! it should still on my own hereon come!
 
Nico Madysa
07/17/09  
 




Roberto
Neu
the had last can I always @ before it made have.
 
07/17/09  
 




Roberto
Neu
so there Have I n small Microkosmos entworfen^^
But yet in the Beta Beta status

 
07/18/09  
 




Dietmar
Horn
To RecTangle: Related XProfan-Textbook ex Page 315 and following ...

to that Grundaufbau one windows-Program (with master-Programmschleife, etc.): See XProfan-Textbook ex Page 78 and following ...

Greeting
Dietmar
 
Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V.  [...] 

Windows 95 bis Windows 7
Profan² 6.6 bis XProfan X2 mit XPSE

Das große XProfan-Lehrbuch:  [...] 
07/18/09  
 




E.T.
Roberto New, Beitrag=53333, Zeitpunkt=18.07.2009
so there Have I n small Microkosmos entworfen^^




well sooner design let ...

@Dietmar: there see You it again: who reading can is clear in the benefit, be it now in the Helpfile, in the XProfan-Textbook, in the Forum, ...
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
07/18/09  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

11.224 Views

Untitledvor 0 min.
inrav07/06/12

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie