Variable verändern
Übersicht

General GandalfBetreff: Variable verändern |
![]() Antworten mit Zitat ![]() |
|
---|---|---|
Tach erstmal
ich habe eine Variable und möchte das wen man ein bestimmtes wort eingibt sich die Variable verändert. Ich weis das man das wissensolte aber ich bin nicht sogut in BB. Danke schonmal MFG General Gandalf |
||
shit happens |
![]() |
BlitzcoderNewsposter |
![]() Antworten mit Zitat ![]() |
---|---|---|
Lies Tutorials. Und Bücher. Und die Onlinehilfe.
Code: [AUSKLAPPEN] b$=input() if b$="irgendeinwort" then variable=3087 |
||
P4 3 Ghz@3,55Ghz|GF 6600GT 256MB|Samsung 80GB | 2x Samsung 160GB|2048MB DDR-400 RAM|6 Mbit Flatrate | Logitech G15 | Samsung 225BW-TFT | Ubuntu Gutsy Linux | Windows Vista | Desktop | Blog | CollIDE | Worklog
________________ |°°°°°°°°°°°°°°||'""|""\__,_ |______________ ||__ |__|__ |) |(@) |(@)"""**|(@)(@)****|(@) |
benni125Betreff: Wie meinst du das... |
![]() Antworten mit Zitat ![]() |
|
---|---|---|
Ich glaub du willst bestimmte wörter abfragen. Nimm dafür einfach ne select function
Code: [AUSKLAPPEN] variable=0 wort$=Input("Hier dein Wort eingeben, welches du abfragen willst:") Select wort$ case "Malen" variable=1 case "Irgendwas" variable=2 case "oder was anderes" variable=3 end select Vielleicht meinst du das ja so... ![]() [/code] |
||
Übersicht


Powered by phpBB © 2001 - 2006, phpBB Group