Tomas Eroles i Forner schrieb:
> Hello all!
> I would like to know if it's possible, working with text apps, write 
> texts in the screen at any position.
> 
> An example: I learned programming with dBase III, and we used the command:
> 
> @2,5 SAY "Hello, what is your name?: " GET w_name
> 
> to write on the coordinates 2,5 on the screen the phrase Hello, what is...
> 
> Is it possible to do in GAMBAS?
> 
> Thanks in advance
> 

Linux terminal coordinates can have more than 80x25 characters (and 
mostly have). So it would be necessary to determine the size of the 
terminal prior to be able to set sensible coordinates. This is missing, 
as far as I know.

However, you can do simple output via PRINT, and if you confine it to 80 
x 25, it would be an easy thing to just CLS and overwrite the whole 
stuff with another 25 lines...

And yes: I don't think the special "graphical characters" like in DOS 
(ASCII > 128) exist on a Linux terminal, do they? So it would be 
somewhat difficult to build "mask" like things. Though Midnight 
Commander can do this, how does it handle this? Maybe special fonts for 
terminal output? And top has lines, too...

Interesting anyway!

Rolf


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to