English
Experimente

Per index on different Variablentypen gesteuertes SELECT

 

p.specht

who had virtual, that the there gültiges XProfan is? Open The Possibility, typenlose variables (How z.B. in Perl) To emulieren:
Window Title "Beweis, that  It's all right:"
cls
var a&=2
var b$="0"
var c%=1
var d!=3.3
var i%=0
var f&=0

repeat

    whileloop 0,3:i%=&Loop

        select If(i%=0,a&, If(i%=1,b$, If(i%=2,c%, d!)))

            caseof "0":f&=rgb(255,0,0)

            caseof 1:f&=rgb(0,255,0)

            caseof 2:f&=rgb(0,0,255)

            caseof 3.3:f&=rgb(255,255,0)

        endselect

        usebrush 1,f&
        rectangle i%*8,(i%*8) - (width(%hwnd)+i%*8-32),height(%hwnd)+i%*8-32
        waitinput 200
        case %key=27:end

    endwhile

until 0

 
XProfan 11
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
05/08/21  
 



Zum Experiment


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

414 Views

Untitledvor 0 min.
RudiB.08/16/22
Ernst07/21/21
Uwe ''Pascal'' Niemeier06/13/21
R.Schneider05/28/21
More...

Themeninformationen

this Topic has 1 subscriber:

p.specht (1x)


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