A DEBUG message based in a var count?
beazleybub
Posts: 102
I have searched around but can't find any information on how to display a different message in the debug window based on the count of a variable.
I would like to only change a specific part of the information within the debug window without clearing the whole screen.
Like the example below the text that I would like to change based on a variable would be the green "Scroll value" and the purple "Exit?".
Can someone please show me an easier way to do this?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
How can there be·nothing? Nothing is something!
I would like to only change a specific part of the information within the debug window without clearing the whole screen.
Like the example below the text that I would like to change based on a variable would be the green "Scroll value" and the purple "Exit?".
Can someone please show me an easier way to do this?
IF menulevelct <= 4 THEN DEBUG CLS, ' display options menu "==============================", CR, " Menu Demo ", CR, " Menu Level (",DEC1 menulevelct, ")", CR, "==============================", CR, " [color=green]Scroll Value[/color] (", DEC SettingLevel_ct, ")" ELSE DEBUG CLS, ' display options menu "==============================", CR, " Menu Demo ", CR, " Menu Level (",DEC1 menulevelct, ")", CR, "==============================", CR, " [color=purple]Exit?[/color] (", DEC SettingLevel_ct, ")" ENDIF
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
How can there be·nothing? Nothing is something!
Comments
DEBUG 2,16,2,DEC1 menulevelct
This positions to column 17, row 3 and writes a single digit decimal value.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
How can there be·nothing? Nothing is something!