Re: [Gambas-user] Confusion in Data Types

2009-06-10 Thread KhurramM
Hello All Thanks for the corrections. Doriano Blengino I made a mistake, the answer is not Max value in Float 1.79E+308 Min value in Float 1E+2147483647 But: Max value in Float 1.79E+308 Min value in Float 1.79E+308 Actually I was playing with values, and so got this output and put it forw

[Gambas-user] Confusion in Data Types

2009-06-08 Thread KhurramM
I am on ubuntu 9.04, x86, 32bit, gambas 2.12. I have some confusion regarding the following: PUBLIC SUB Main() DIM myBoolean AS Boolean DIM myByte AS Byte DIM myShort AS Short DIM N, myInteger AS Integer DIM myLong AS Long DIM mySingle AS Single

Re: [Gambas-user] Startup problems

2009-05-28 Thread KhurramM
are all of the following packages installed? gambas2_2.0.0-1_i386.deb gambas2-dev_2.7-1_i386.deb gambas2-doc_2.0.0-1_i386.deb gambas2-gb-chart_2.0.0-1_i386.deb gambas2-gb-compress_2.0.0-1_i386.deb gambas2-gb-compress-bzlib2_2.0.0-1_i386.deb gambas2-gb-compress-zlib_2.0.0-1_i386.deb gambas2-gb-cry

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-23 Thread KhurramM
TO: "nando-7" where did I mention I need drawing/ drafting tools? -- View this message in context: http://www.nabble.com/C-Code-character-manipulation---alternatives-tp23611042p23687610.html Sent from the gambas-user mailing list archive at Nabble.com. ---

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-23 Thread KhurramM
Thanks a lot : Doriano Blengino and Benoît Minisini :handshake: It was really informative for me. :working: I just had a little curiosity in my mind. Its not related to Gambas directly. I do not have that much programming depth. But anyhow (now its off-topic) :thinking: IS it possible that

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-22 Thread KhurramM
Thanks for all the cooperation for this mini coding of mines. :handshake: Best Regards -- View this message in context: http://www.nabble.com/C-Code-character-manipulation---alternatives-tp23611042p23681537.html Sent from the gambas-user mailing list archive at Nabble.com. ---

[Gambas-user] Comparative Weakness in Compiler

2009-05-22 Thread KhurramM
a variable or constant declared is never used in the program This warning message comes into play when working in the Borland C Compiler. I think this should be in gambas. I just wanted to put this up. Best Regards -- View this message in context: http://www.nabble.com/Comparative-Weakness-in

Re: [Gambas-user] A web page for Gambas Applications (Hugo)

2009-05-22 Thread KhurramM
Hoping to learn something new from u. Best Regards -- View this message in context: http://www.nabble.com/A-web-page-for-Gambas-Applications-%28Hugo%29-tp23567272p23681314.html Sent from the gambas-user mailing list archive at Nabble.com. --

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-22 Thread KhurramM
TO: Ron_1st Either I am wrong or u r: DIM k, countVar AS Integer PRINT k, countVar The output of these lines is: 0 0 How come u say that both integers are initialized to NULL. This is a super feature of Gambas versus C, which puts garbage values into variables of any type. Correc

Re: [Gambas-user] A web page for Gambas Applications (Hugo)

2009-05-22 Thread KhurramM
Can u upload the code and related? Thanks:-) -- View this message in context: http://www.nabble.com/A-web-page-for-Gambas-Applications-%28Hugo%29-tp23567272p23675625.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] Feature Request - Package Management

2009-05-22 Thread KhurramM
Ron_1st: I think u r now more than right. Cant we install gre(gambas runtime environment) first. And then install gambas on it. Now anything can be run via it, just like wine does. Isnt it a better solution. It will not take 850mb space for the package now but only 20mb or around. Also we can then

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-22 Thread KhurramM
I made a little bluder, my code: PUBLIC SUB Main() ' Declare AND initialize variables. DIM count AS Integer ' The values are initialized at Zero, by above command DIM c AS String ' READ , PRINT , AND count characters. PRINT "Enter character

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-21 Thread KhurramM
The code below works a okay on a console, after I make its exe file. Currently, I am solcving my C programs into Gambas, in terminal mode only. Next I will try these in gui. Currently it is my first experience in gui, but I like basic more than C/C++/Java. It is the first language I started to le

Re: [Gambas-user] Feature Request - Package Management

2009-05-20 Thread KhurramM
Well I again search the same site to find gambas2.12 for my hardy. Thanks a lot. Still need to try it, yet. I experimented the file on my testing jaunty: (see attachment) To gambas forum: I installed gambas via on jaunty (just for trial). It used 37.5mb total including this gambas file to instal

Re: [Gambas-user] Feature Request - Package Management

2009-05-20 Thread KhurramM
Sir the page is in French, I dont understand what to do here? Best Regards programacion wrote: > > Hi. > > Look this link http://www.gambas-it.org/gmbs/modules/news/ > > Regards > > El mié, 20-05-2009 a las 11:10 -0700, KhurramM escribió: > >> Sir it

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-20 Thread KhurramM
Thanks Sir. You have given me tips better then the book I am following on C. :working: My two queries: 1> Can I implement ctrl+D or ^D, which I am not able to here, as in C? 2> The program works with INPUT and LINE INPUT. But Line Input also takes blank space as input, while INPUT ends the progr

Re: [Gambas-user] Feature Request - Package Management

2009-05-20 Thread KhurramM
Sir it will be a very excellent piece of work if u have the latest gambas-debians for ubuntu and debian. Pls, if it is possible, put these for easy/direct download on the gambas website server. Because Hardy is a LTS, so I prefer to use it over the latest version. It will be a lot of help for me

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-20 Thread KhurramM
The Code: PUBLIC SUB Main() ' Declare AND initialize variables. DIM c, count AS Integer ' The values are initialized at Zero, by above command DIM c1 AS String ' READ , PRINT , AND count characters. PRINT "Enter characters (Press Carriage Return Twice to quit): " LINE

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-19 Thread KhurramM
I am converting the at the end C code to gambas code. But I seem to be getting nowhere, currently. I am trying. Hope u guide me thru this. ' Gambas module file ' This program demonstrates the relationship ' between a text stream AND character I / O by ' reading characters FROM the keyboard AND T

Re: [Gambas-user] Feature Request - Package Management

2009-05-19 Thread KhurramM
Hello All! TO joshiggins " ...The only problem then is, say because your on Hardy, you'd possibly have two different GTK versions... " Intelligent Installer, it installs only what is not present on the system. TO Rob Kudla " ...I build my own package rather than using some binary insta

[Gambas-user] C Code character manipulation - alternatives

2009-05-19 Thread KhurramM
Hi all! I am still learning gambas. I need a little help in character manipulation. I C there are functions: getchar putchar fgetc isdigit Can these be implemented now in gambas. I failed to use the first two using chr and chr$. Thanks in advance for tips/ solution. -- View this message in c

[Gambas-user] Feature Request - Package Management

2009-05-19 Thread KhurramM
Hi all! I dont know, if its possible, but I like to have a installer like: gambas-3.1.2-install.bin or gambas-3.1.2-install.sh for every new release (stable or unstable), for all linuxes. Advantages: 1> Faster updating. 2> Faster bug fixing (as every one uses it). 3> More documentation to con

Re: [Gambas-user] How to control the PRINT output in console application

2009-05-17 Thread KhurramM
Well Sir! I used the following: PRINT Format$(TimeVal, "-00.00"), Format$(height, "-0.00"), Format$(velocity, "-.00") Other options did not got me the result the way I wanted the allignment. C and C++ give us the option to control the position of the cursor before printing. Is there no opt

Re: [Gambas-user] How to control the PRINT output in console application

2009-05-17 Thread KhurramM
Thank u Sir! As soon as I will try this and let u know. Best Regards :-) -- View this message in context: http://www.nabble.com/How-to-control-the-PRINT-output-in-console-application-tp23576681p23582732.html Sent from the gambas-user mailing list archive at Nabble.com. --

[Gambas-user] How to control the PRINT output in console application

2009-05-16 Thread KhurramM
Hello! I am writing this code: PRINT Format$(TimeVal, "-.##"), Format$(height, "-.##"), Format$(velocity, "-.##") But getting: 0 2201.14 .5 2176.491.04 Now here, how I control the allignment of 1.14 to be vertically same with 1.04. The first two entries are correct. Thank

Re: [Gambas-user] How to view GAMBAS BASIC code of a GUI, when I write no code

2009-05-15 Thread KhurramM
Thanks for your reply, Sir. Well it seems a milestone for me. Any how, I am a new programmer on GUI side. Is it possible that I learn GUI techniques of Gambas. No where I can find material related to this. I was going thru the book: Johns Beginners Guide, but the commands of ver1 dont work in g

[Gambas-user] How to view GAMBAS BASIC code of a GUI, when I write no code

2009-05-14 Thread KhurramM
I make gui interface of a form. I choose options for buttions and lables etc. How can I view the code for the options I have selected. Definitely code is amde for all my work. Double clicking a button does not shows this.:confused: -- View this message in context: http://www.nabble.com/How