Search found 11 matches
- Mon Feb 06, 2017 3:39 pm
- Forum: Other topics
- Topic: Switch from GRAPHICS to Text Output
- Replies: 40
- Views: 14472
- Flag:
Re: Switch from GRAPHICS to Text Output
ok! I will try thanks
- Mon Feb 06, 2017 1:14 pm
- Forum: Other topics
- Topic: Switch from GRAPHICS to Text Output
- Replies: 40
- Views: 14472
- Flag:
Re: Switch from GRAPHICS to Text Output
Hi! the only way to reload the RGB key in text page with scrolling capability is to use GET ORIENTATION command, the code below: REM --- We start in the graph page: GRAPHICS button_text$ = "TXT" BUTTON "a" TEXT button_text$ AT 250,10 i=0 LOOP: IF i<50 THEN i=i+1 x=i y=2*x+4 REM --- What I want to se...
- Sat Feb 04, 2017 8:43 pm
- Forum: Other topics
- Topic: Switch from GRAPHICS to Text Output
- Replies: 40
- Views: 14472
- Flag:
Re: Switch from GRAPHICS to Text Output
Hi Mr. Kibernetik, ok thanks, but after to have hidden the page, I can't to re-show the key TXT and RGB, so after the scroll operation I cant switch between graph and txt. I'm learning a bit about TOUCH_X...that command can work also in TEXT page or only in GRAPHICS environment?
Thanks
Matteo
Thanks
Matteo
- Sat Feb 04, 2017 6:49 am
- Forum: Other topics
- Topic: Switch from GRAPHICS to Text Output
- Replies: 40
- Views: 14472
- Flag:
Re: Switch from GRAPHICS to Text Output
Hi, thank you, for the first question I cant scroll up the text output after the end of calculation, while if I try with other source code without BUTTON command I can scroll up. Please try if you want the code : after the end of calculation , if you switch to txt page you cant scroll up the txt pag...
- Fri Feb 03, 2017 9:35 pm
- Forum: Other topics
- Topic: Switch from GRAPHICS to Text Output
- Replies: 40
- Views: 14472
- Flag:
Re: Switch from GRAPHICS to Text Output
Hi! this is my first attempt to do what I was asking about switching between graph and txt output during any SmartBasic calculation: REM --- We start in the graph page: GRAPHICS button_text$ = "TXT" BUTTON "a" TEXT button_text$ AT 250,10 i=0 LOOP: IF i<50 THEN i=i+1 x=i y=2*x+4 REM --- What I want t...
- Wed Jan 25, 2017 7:49 pm
- Forum: Other topics
- Topic: Switch from GRAPHICS to Text Output
- Replies: 40
- Views: 14472
- Flag:
Re: Switch from GRAPHICS to Text Output
Thanks to you all! Thanks George for your code, now I try to do some experiments writing some examples of calculations and switching from text and graph screen, for now I don't need interactive prompts during executions, only switching between screens without altering the execution of the entire cod...
- Thu Jan 19, 2017 8:57 pm
- Forum: Other topics
- Topic: Switch from GRAPHICS to Text Output
- Replies: 40
- Views: 14472
- Flag:
Re: Switch from GRAPHICS to Text Output
Thanks very much for your reply! I will try to write , with your hints, a default source code for my calculations and simulations projects able to show both graphical and textual (numbers and texts) results during execution, without stopping the code execution when I want to see a numeric value whil...
- Thu Jan 19, 2017 7:44 pm
- Forum: Other topics
- Topic: Switch from GRAPHICS to Text Output
- Replies: 40
- Views: 14472
- Flag:
Re: Switch from GRAPHICS to Text Output
Excellent, it works now, so I could try to program a button on the screen that switches from text to graph and viceversa to see results of a general computation (graphical and text values) in real time. Do you know if with Smart Basic user can program a button that exists in both graphic and text ou...
- Thu Jan 19, 2017 5:54 pm
- Forum: Other topics
- Topic: Switch from GRAPHICS to Text Output
- Replies: 40
- Views: 14472
- Flag:
Re: Switch from GRAPHICS to Text Output
hi, thanks for reply but again I can't run my training code: GRAPHICS maxx = SCREEN_WIDTH() * SCREEN_SCALE() maxy = SCREEN_HEIGHT() * SCREEN_SCALE() a=1 b=0 LOOP: IF a>1000 THEN TEXT PRINT b BREAK ENDIF var1=RND(maxx) var2=RND(maxy) DRAW PIXEL var1, var2 COLOR RND(1), RND(1), RND(1) IF var1<10 AND v...
- Thu Jan 19, 2017 3:25 pm
- Forum: Other topics
- Topic: Switch from GRAPHICS to Text Output
- Replies: 40
- Views: 14472
- Flag:
Re: Switch from GRAPHICS to Text Output
Hi, sorry I can't understand your solution, that is if I write the code: REM 'color pixels.txt' source file: GRAPHICS maxx = SCREEN_W.... ... LOOP: ... GOTO LOOP ' added: TEXT PRINT "hello" run it and then stop it (due to infinite loop), I can't see the text output. What I wrong? Thanks Regards Matteo