| |
|
|
- Page 1 - |
|
diimool25 | Hello I brächte Help means we want one ''Quiz'' make and having because radioButtons as antwortmöglichkeiten. how can I the now take on the if I on evaluate press the there standing the The response correctly. or wrong is
thanks for hilfen !!! |
|
|
| |
|
|
|
| |
|
- Page 1 - |
|
diimool25 | thanks |
|
|
| |
|
|
|
diimool25 | How can I the make I still others ask can make means if I on enien button click open itself others ask ? |
|
|
| |
|
|
|
diimool25 | thanks but have now yourself a ösung found |
|
|
| |
|
|
|
diimool25 | can me of/ one say How I the can make the me said becomes you have 3 of 6 correctly. ? |
|
|
| |
|
|
| |
|
- Page 2 - |
|
|
Michael Wodrich | well through Buchführung. with eachone Frageauswertung count You The right Answer. CompileMarkSeparation Also should not any ask at the same time showing, separate always a question and the possible Answer. thereafter becomes determined whether it correctly. was (counted) and then goes it moreover with the next question. on the end has one then the desired result. |
|
|
| |
|
|
|
H.Brill | moreover could one another Ini-File make. about in the form :
[Siele] number = "5" ' for Begrenzung of Randomize [1] question1 = "blabla" question2 = "blublu" question3 = "blibli" .... question5 = "..." Antw1 = "lala" Antw2 = "lulu" Antw3 = "lili" .... Antw15 = "..." correctly. = "1,5,9,11,14" ' with 5 Groupboxen with apiece 3 ask u. Answer [2] here gleiches schema How under [1] [3] here gleiches schema How under [1] [4] here gleiches schema How under [1] [5] here gleiches schema How under [1]
Per Zufallsgenerator (Randomize) could one then a casually number ([Rubrik] start and the Radiobuttons bestücken and The Answer present. is hold only meaningfully, if always 3 ask and 3 Answer there are and z.B. 5 Groupboxen with apiece 3 ask u. Answer. Kannste Yes to your imaginations adjust.
if The File of users not viewing go should, can tappt im dunkeln too code. accordingly can with the Content nothing begin. is hold only one plainer protection. |
|
|
| Benutze XPROFAN X3 + FREEPROFAN Wir sind die XProfaner. Sie werden von uns assimiliert. Widerstand ist zwecklos! Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.
Was die Borg können, können wir schon lange. | 03/08/14 ▲ |
|
|
|
|
diimool25 | and How very should I book lead ? |
|
|
| |
|
|
|
H.Brill | what Dou you mean very with 'buch führen' ?
is so The Auswertung the right Answer meant ? or the Save the right for a player ?
for the Save the right can you Yes again a Ini-File take : [diimool25] Right thing = "4" date = Date$ etc.
what above-mentioned Ini-File concerns, must You you hold one schema conceive. Can too so make : [1] question1 = "..." Antw1 = "..." Antw2 = "..." Antw3 = "..." question2 = "..." Antw1 = "..." Antw2 = "..." Antw3 = "..."
and to that Schluß then Right thing = "1,5,9,11,14"
but the first supra is leichter with of/ one Loop auszulesen. the aray would I with 16 Einträgen define, so You always with 1 begin can To count. remaining hold element 0 always spare. CompileMarkSeparation whom Rubriknamen (here "1") must You then too variable hold, circa different Games To loading.
The 5 ask can you Yes slight eachone Groupbox allocate. then The right read. with of/ one WhileLoop Loop 1-5 and SubStr$(). CompileMarkSeparation' sees then so from
Declare right%[16], correctly.$
richtig$ = "1,5,8,11,14"
Clear right%[]
WhileLoop 1, 5
right%[Val(SubStr$(correctly.$, &LOOP, ","))] = 1
EndWhile
' and schwupp di wupp is your Wahrheitstabelle on whom
'right to put staid or.filled.
Print correctly.$
WhileLoop 1, 15
Print &LOOP; " : "; right%[&LOOP]
EndWhile
waitkey
End
before would I me manner Wahrheitstabelle (num. aray with 16 Elementen) make. there write You hold on whom right to put a 1 mere. The runs then later with the Auswertung simultan with the RadioButtons%[] aray. CompileMarkSeparation there are your fancy but no border staid. can also one String-aray take and a "X" as correctly. Mark. think but on it, at Reading the Inidatei the Wahrheitsarray[] with Clear To delete. |
|
|
| Benutze XPROFAN X3 + FREEPROFAN Wir sind die XProfaner. Sie werden von uns assimiliert. Widerstand ist zwecklos! Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.
Was die Borg können, können wir schon lange. | 03/09/14 ▲ |
|
|
|
|
Michael Wodrich | good ideas,
but that here...
H.Brill (09.03.14)
what above-mentioned Ini-File concerns, must You you hold one schema conceive. Can too so make : question1 = "..." Antw1 = "..." Antw2 = "..." Antw3 = "..." question2 = "..." Antw1 = "..." Antw2 = "..." Antw3 = "..."
...must something differently looks. Glücklicherweise have You others Proposals made. on this part disturbing The identischen Key with AntwX. there should then sooner Antw1_1, Antw1_2,... etc. uses go. |
|
|
| |
|
|
|
diimool25 | Yes with book lead my I the if one 6 ask has the latterly if one on evaluate clicking the because there standing you have 5 of 6 correctly. |
|
|
| |
|
|
|
H.Brill | Yes, where is because now the trouble ? The amount (6) ask stand Yes in your mask (apiece 1 Groupbox + 3 Radiobuttons) solid. Right thing% setting You at the beginning on 0 and clatter The Radiobuttons How supra ex : CompileMarkSeparationRichtige% = 0
WhileLoop 1, 18
If GetCheck(RadioButtons%[&LOOP]) And (Richtige%[&LOOP] = 1)
' Wird nur dann erhöht, wenn der entsprechende Radiobutton markiert
' und in der Wahrheitstabelle an dieser Position eine 1 steht.
Inc Richtige%
EndIf
EndWhile
Print "Du hast "; Richtige%; " von 6 richtig ;
|
|
|
| Benutze XPROFAN X3 + FREEPROFAN Wir sind die XProfaner. Sie werden von uns assimiliert. Widerstand ist zwecklos! Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.
Was die Borg können, können wir schon lange. | 03/09/14 ▲ |
|
|
|
|
diimool25 | ahhh now Have I it Thank you !! |
|
|
| |
|
|