| |
|
|
| CompileMarkSeparationEine 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
|
|
|
| |
|
|
|
| Horst! functions/Procs can not Digits begin and already not at all Operators imply! |
|
|
| |
|
|
|
RGH | circa very To his:
Operators in Bezeichnernamen are the didn't allows. (Bislang missing but a Überprüfung.)
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 Schnauze. circa words in the Bezeichner To run, is means the Unterstrich To using: 3_D_Saeule
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 ▲ |
|
|
|
|
| RGH
(Bislang missing but a Überprüfung.)
not integrally. xpse bleats what the stuff holds |
|
|
| |
|
|
|
RGH | iF
RGH(Bislang missing but a Überprüfung.) not integrally. xpse bleats what the stuff holds
I speech indeed of XProfan. (That for XPSE partly others Syntaxregeln count, is eh clear. ;) )
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 ▲ |
|
|
|
|
| RGH
I speech indeed of XProfan. (That for XPSE partly others Syntaxregeln count, is eh clear. ;) )
Greeting Roland
Hm
I hope that I me technical not crazy - but I my for XPSE count no others (neither partly) Syntaxregeln because whom reinen XProfan-regulate wiederspricht XPSE of my opinion to in keinem drop.
there's naturally additional Opportunities which naturally Own regulate mitsich bring but the touching The Standardregeln IMHO not.
or Have I something overlooking?
So I my - if one XProfan in its Codes to reinem XProfan program - and to XProfan-regulate no Error power - then bleats too XPSE not. (Units without .def except) |
|
|
| |
|
|
|
Nico Madysa | How wärs simply with DreiDSaeule? (tschuldigung, I Have yesterday time again in the Witzkiste slept...) |
|
|
| |
|
|
|
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 ▲ |
|
|
|
|
|
|
|
| |
|
|
|
| |
|
| |
|
|
|
| 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 ! |
|
|
| |
|
|
|
| |
|
| |
|
|