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
> > - 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
> 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
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
> > 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
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
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
-
> 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
> 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
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
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
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
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'
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
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
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
16 matches
Mail list logo