Re: [Gambas-user] IsFloat

2010-12-20 Thread Ricardo Díaz Martín
I think it's right, because an integer isn't a float. Maybe you're thinking in other function like "CanBeConvertedToFloat()" (doesn't exist in gambas but it's on my own functions set). Regards, Ricardo Díaz 2010/12/20 Jussi Lahtinen > Hi! > > Is this correct; > ? IsFloat("123") > False > > 123

Re: [Gambas-user] Preprocessor in the Gambas 3 compiler

2010-12-20 Thread Benoît Minisini
> > - SYSTEM, that returns the current OS ("Linux", "FreeBSD", "MacOSX"...) > > Are you thinking to port gambas3 to MacOSX? > > Regards, > Ricardo Díaz > Not directly. Wellington de Souza Pinto tries to compile Gambas 3 on MacOSX, but I have no news from him since Dec. 12th. -- Benoît Minisi

Re: [Gambas-user] Gambas 3 advancement

2010-12-20 Thread Benoît Minisini
> 2010/12/19 Benoît Minisini : > > Tell me the important things I forgot, because I am sure I have forgotten > > things. > > > > Not the small bugs, but the features that may change the language syntax > > or the interface of some components. > > Hi Benoît. I think that a "mecanism" for automatic

Re: [Gambas-user] Gambas 3 advancement

2010-12-20 Thread Fabián Flores Vadell
2010/12/19 Benoît Minisini : > > Tell me the important things I forgot, because I am sure I have forgotten > things. > > Not the small bugs, but the features that may change the language syntax or > the interface of some components. Hi Benoît. I think that a "mecanism" for automatic and selective

Re: [Gambas-user] Bug with IsDate?

2010-12-20 Thread Benoît Minisini
> > The wiki has been recently updated, but your IDE only update its > > documentation > > cache once a week. > > Is there way to force IDE to update cache? To wish list? > > > But, I'm still not sure I quite understand. If IsDate() takes only string, > why I don't get "Type mismatch: wanted str

Re: [Gambas-user] Bug with IsDate?

2010-12-20 Thread Fabien Bodard
2010/12/20 Jussi Lahtinen : >> The wiki has been recently updated, but your IDE only update its >> documentation >> cache once a week. >> > > Is there way to force IDE to update cache? To wish list? > there is a button in the options dialog .. go to help options and click on it to remove all files

[Gambas-user] IsFloat

2010-12-20 Thread Jussi Lahtinen
Hi! Is this correct; ? IsFloat("123") False 123 should be safe value for float, even if it can be stored to integer. With consistent logic IsLong("1") should answer False, so I think this is bug. Gambas 3 rev 3384 @ Ubuntu 10.10 64bit Jussi -

Re: [Gambas-user] Bug with IsDate?

2010-12-20 Thread Jussi Lahtinen
> The wiki has been recently updated, but your IDE only update its > documentation > cache once a week. > Is there way to force IDE to update cache? To wish list? But, I'm still not sure I quite understand. If IsDate() takes only string, why I don't get "Type mismatch: wanted string got date ins

Re: [Gambas-user] Bug with IsDate?

2010-12-20 Thread Benoît Minisini
> Question still valid, but I think there is problem with localization. > > ? IsDate(Cstr(Now)) > False > > ? IsDate(Str(Now)) > True > > Jussi > The wiki has been recently updated, but your IDE only update its documentation cache once a week. IsDate() takes a string, and returns if that str

Re: [Gambas-user] Bug with IsDate?

2010-12-20 Thread Jussi Lahtinen
Question still valid, but I think there is problem with localization. ? IsDate(Cstr(Now)) False ? IsDate(Str(Now)) True Jussi On Mon, Dec 20, 2010 at 21:00, Jussi Lahtinen wrote: > Hi! > I don't quite understand how this should work... > > IsDate(Now) returns False, and IsDate(Str(Now)) retu

[Gambas-user] Bug with IsDate?

2010-12-20 Thread Jussi Lahtinen
Hi! I don't quite understand how this should work... IsDate(Now) returns False, and IsDate(Str(Now)) returns True. I don't understand why IsXXX functions accept anything else than string. Help window says 'IsDate(Value As Variant) As Boolean' and below it it continues 'IsDate( String ) As Boolean

Re: [Gambas-user] Did anyone have a script to record webcame picture in video files

2010-12-20 Thread Jussi Lahtinen
Project --> Make --> Source archive And put the script in that tar ball also. Jussi On Mon, Dec 20, 2010 at 08:32, firman wrote: > > okay i'll send u entire project, but which one do u need, Files project in > package program or just All script in main form?? > > thank's > > > > Jussi Lahtine

Re: [Gambas-user] Displaying the same form n times

2010-12-20 Thread Fabien Bodard
just use .ShowModal insteed of .show 2010/12/20 vikram : > Hi, > > Thanks a lot for your response :) > This opens all the IP > Input dialogs at one go. It would be better if the IP input dialogs > were displayed one after the other. Maybe theres a way to link one dialog's > Open event to another'

Re: [Gambas-user] Displaying the same form n times

2010-12-20 Thread vikram
Hi, Thanks a lot for your response :) This opens all the IP Input dialogs at one go. It would be better if the IP input dialogs were displayed one after the other. Maybe theres a way to link one dialog's Open event to another's Close event, or maybe there is some other way to do this. Thanks ag

Re: [Gambas-user] Gambas 3 advancement

2010-12-20 Thread Doriano Blengino
Benoît Minisini ha scritto: >> Pipes should not return EOF when the pipe is not closed. But they should >> return EOF when the other side closes. >> >> > Why ? > Because this is the way *all* unix routines work, and the only logical one. > EOF() actually means "there is nothing to read an

Re: [Gambas-user] Displaying the same form n times

2010-12-20 Thread Fabien Bodard
PUBLIC SUB Button1_Click() DIM count AS Integer dim hForm as IPinput ascount = txtAScount.Text'Point 1 '''never use underscore in names and str to int is automatic FOR count = 1 TO ascount hForm = New IPinput hForm.show NEXT END in IP Input form add : STATIC PUBLIC