English
Source / code snippets

à ¶ Open Spielerei

 
- Page 1 -



CompileMarkSeparation
Eine kleine Spielerei - mit ein paar Änderungen können Daten einer Statistik aus einer Datenbank
angezeigt werden.
Horst Horn 2007
Der Text kann frei benutzt werden.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
SET(DECIMALS,2)
DECLARE spalte%,zeile%,steig%,wert!
DECLARE programm$
programm$=Diagramm-Balken
----------------------------------

PROC DREI_D_BALKEN

    DECLARE spalte2%,spalte3%,zeile2%,zeile4%
    DECLARE wert1!,wert1$
    ---------------------------------
    PARAMETERS spalte1%,zeile1%,wert!
    wert1!=wert!
    wert!=(zeile1%-(wert!*25))
    spalte2%=(spalte1%+30)
    spalte3%=(spalte1%+45)
    zeile4%=(wert!-18)
    LINE spalte1%,zeile1%-spalte2%,zeile1%
    LINETO spalte3%,(zeile1%-18)
    LINE spalte1%,zeile1%-spalte1%,wert!
    LINE spalte2%,zeile1%-spalte2%,wert!
    LINE spalte3%,(zeile1%-18)-spalte3%,zeile4%
    LINE spalte1%,wert!-spalte2%,wert!
    LINETO spalte3%,zeile4%
    LINETO (spalte2%-13),zeile4%
    LINETO spalte1%,wert!
    USEBRUSH 1,rgb(0,250,200)Vorderansicht - freie Farbwahl
    FILL (spalte1%+2),(zeile1%-2),rgb(0,0,0)
    USEBRUSH 1,rgb(0,255,255)Seitenansicht - freie Farbwahl
    FILL (spalte2%+1),(zeile1%-10),rgb(0,0,0)
    USEBRUSH 1,rgb(190,200,210)oben - freie Farbwahl
    FILL (spalte1%+5),(wert!-1),rgb(0,0,0)
    wert1$=Str$(wert1!)
    TEXTCOLOR rgb(0,0,0),-1 freie Farbwahl
    UseFont ARIAL,20,0,1,0,0
    Case wert1$=0.00:wert1$= k.A.
    DrawText (spalte1%+10),(zeile4%-20),wert1$
    SLEEP 250

ENDPROC

----------------------------------
spalte%=60 freie Gestaltung
zeile%=400
steig%=55
----------------------------------
wert!=5.00 kann nach Bedartf geändert oder aus einer Datenbank eingegeben werden
----------------------------------
CLS RGB(230,230,230)
WINDOW (%MaxX/2-400),(%MaxY/2-300)-800,600
WindowTitle programm$
DREI_D_BALKEN spalte%,zeile%,wert! Jeder Aufruf erzeugt eine neue Diagramm-Säule
ADD spalte%,steig%
wert!=wert!+1
DREI_D_BALKEN spalte%,zeile%,wert!
ADD spalte%,steig%
wert!=wert!-2
DREI_D_BALKEN spalte%,zeile%,wert!
ADD spalte%,steig%
wert!=wert!+1
DREI_D_BALKEN spalte%,zeile%,wert!
ADD spalte%,steig%
wert!=wert!+1
DREI_D_BALKEN spalte%,zeile%,wert!
ADD spalte%,steig%
wert!=wert!-1.5
DREI_D_BALKEN spalte%,zeile%,wert!
ADD spalte%,steig%
wert!=wert!+7.06
DREI_D_BALKEN spalte%,zeile%,wert!
ADD spalte%,steig%
wert!=0.00
DREI_D_BALKEN spalte%,zeile%,wert!
ADD spalte%,steig%
wert!=wert!+0.78
DREI_D_BALKEN spalte%,zeile%,wert!
ADD spalte%,steig%
wert!=wert!+5
DREI_D_BALKEN spalte%,zeile%,wert!
ADD spalte%,steig%
wert!=wert!+2.65
DREI_D_BALKEN spalte%,zeile%,wert!
ADD spalte%,steig%
wert!=wert!+1
DREI_D_BALKEN spalte%,zeile%,wert!
WaitInput
END
 
06/11/07  
 



 
- Page 1 -



RGH
Hello iF,
no worry: with others Syntaxregeln my I in integral erweiterte Syntaxregeln. that is XPSE comes naturally with XProfan-Syntax clear, knows but even erweiterte Möglichkeiteten.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
06/11/07  
 



The code is already a couple years old and therefore yet The Operators in the cover. now rather ?
any having gemeckert, but none has what to the beam said

RGH


...falls XProfan on The Schnauze. ...


had You, the so meant ???

10 kB
Kurzbeschreibung: XProfan falls on The Schnauze
Hochgeladen:06/11/07
Downloadcounter573
Download
 
06/11/07  
 



Horst horn
any having gemeckert, but none has what to the beam said


Tschuldigung!

means! to the beam! (incidentally XPSE has in Your new code none Error found )

Hrm - means I find The not pretty. are too no 3D-beam - are perspektivisch. *same*krich*II*merks*jenau*gg*

then disturbing me the one no Begrenzungen indicate can or. The beam not a definierten area hineinskalierbar are. *ok*now*holter*sure*whom*knüppel*

mentioned I already the The Schrägen either a, or three levels (Linienzeichnung) having which unnecessary are? *bomb*on*Berlin*I*hörse*already*approach*

but hey what should I say - there's ne crowd schlechtere Examples whom processor ineffektiv To load!

[offtopic]I mean me guard now only yet The local distance between Horst and me[/offtopic]


*verkriech*
 
06/11/07  
 



iF


then disturbing me the one no Begrenzungen indicate can or. The beam not a definierten area hineinskalierbar are. *ok*now*holter*sure*whom*knüppel*


You need only others values for slot% + row% To transfer and already standing the not 3-dimensionale beam at a from you desired place

...I had already erwähnt, I beginning august to Berlin come !

3 kB
Hochgeladen:06/11/07
Downloadcounter547
Download
 
06/11/07  
 



Horst horn
...I had already erwähnt, I beginning august to Berlin come !


 
06/11/07  
 



 
- Page 2 -



Sebastian
Sprenger
iF
functions/Procs can not Digits begin

If I hereon again get back might... ;)
Dass Operators in names not allows are, is Yes clear, but wieso should tappt im dunkeln not Digits begin can? I had the already multiple (in Procedures and functions) and it can testimony none understand.
Greeting, Sebastian
 
Profan² 7.0e, XProfan 9, 11.2a, FreeProfan32
Windows Vista Home Premium 32-Bit, 2.8 Ghz, 4 GB RAM
Windows Me, 1.8 Ghz, 256 MB RAM
06/11/07  
 



Tjah - I habs not made up - these testimony have I of Roland - very well myself too Digits as Bezeichnerstart as unerlaubt bezeichnen would. I faith tatsächliche Problems with XProfan there so only seldom - faith with Defs / Konstanten hats crashed. Irgendwas was there anyway...

time integrally of it foreseen the it really no good example gives there these quality if at all too only of XProfan supported and is hardly of others Languages. Nichtmal JS and others me known interpretierte Languages permit this what about me find already the one too therefore at least hereon attentive make ought to the one nunmal Bezeichner not Digits begins.

are You with my Statement all right Sebastian?

RGH
as long as The Procedures as command without Return Value called go, How supra in the example, functions it of course free from problems, but once You The procedure as function aufrufst, falls XProfan on The Schn...
 
06/11/07  
 



iF
Gefällt you The statement rather ???

27 kB
Hochgeladen:06/12/07
Downloadcounter211
Download
 
06/12/07  
 



Jau! yummy!
 
06/12/07  
 



On reason the LISTVIEW.DLL of Frank (one high on you ) Have I me undertaken, one altes in superannuation to itself there schlafendes Program new To write. a Mietspiegel with possible all Städtedaten. For this are missing me but the latest values and its very umständlich and frustrierend, each communities To requests, The data To mailen (promise from früherer experience. ) If someone in the Community Opportunities has, on The Mietspiegeldaten its Gemeinde (town) To come, would I very grateful, if it me Mail so mail. Betreffzeile: Mietspiegel - important would for me the Quadratmeterpreis o. Nebenk. for a normal equipped dwelling (standard: kitchen, bath, heating) - as indicated wären then the Price for a 45,00qm-, 60,00qm-, 90,00qm- and 110,00qm-dwelling for me of interest. Additional yet the year the Creation the Mietspiegels and the names with postcode the Gemeinde (town)
in the Vorraus already time one dickes thanks
 
06/12/07  
 




Sebastian
Sprenger
iF
faith with Defs / Konstanten hats crashed.

OK, with whom Konstanten can ichs understand (Verwechslungen between Präfixen and Operators)

iF
time integrally of it foreseen the it really no good example gives there these quality if at all too only of XProfan supported and is hardly of others Languages. [...] I find already the one too therefore at least hereon attentive make ought to the one nunmal Bezeichner not Digits begins.

here voice I on each drop To, Yes - would then but sooner say, Digits at the beginning of procedure-/Functionnames seien in Profan already allows, moral only not erwünscht. so I see the at least.

iF
are You with my Statement all right Sebastian?

Hm, if You so ask, Yes.
Greeting, Sebastian
 
Profan² 7.0e, XProfan 9, 11.2a, FreeProfan32
Windows Vista Home Premium 32-Bit, 2.8 Ghz, 4 GB RAM
Windows Me, 1.8 Ghz, 256 MB RAM
06/12/07  
 



morals and Programming - ai ai ai!
 
06/12/07  
 




Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.909 Views

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