[Gambas-user] Gambas Printing

Budi Arief Gusandi budi at ...415...
Tue Jul 27 09:51:13 CEST 2004


Dear Benoit,

1. Why the variabel with byte data type still can be assigned with value  
less dan 0 or more than 255 ? the value return is also strange. I can even  
assign with boolean value.

Dim i as byte
i = 10
message.info (i) 'return 10. Correct !
i = True
message.info (i) 'return 255 ???
i = -10
message.info (i) 'return 246 ???

2. How to print text to next line without resupplying X and Y position ?  
just like in VB : printer.print "Hello", when i try to do the same  
command, it will print to the next line with the same x pos. How can i do  
that with draw ?

draw.text("test1",100,100) <-- works
draw.text("test2") ???


Regards,

Budi     




More information about the User mailing list