Search found 5 matches

by azarus
Tue Aug 18, 2009 8:46 pm
Forum: General category
Topic: declaration of variable ignored in a sub-routine
Replies: 3
Views: 8043

declaration of variable ignored in a sub-routine

It seems that the fonction dim work only the first time in a sub-routine:A exemple:object myform as form      Height=100      Width=100      object click as buttononclick=clukend object      end objectmyform.ShowModalsub cluk()dim i as doub...
by azarus
Sun Aug 16, 2009 5:56 pm
Forum: General category
Topic: Fonction Log()
Replies: 1
Views: 3657

Fonction Log()

I have tried:
showmessage str$ (log(2.718281))
I obtain 1.3132 => Log() is not natural logarithm :ln(e)=1
I have tried:
showmessage str$ (Log(10))
I obtain 2.39 => Log() is not based on 10
It seems that with Fnxbasic ln(x)= Log(x-1).How is it possible ??
by azarus
Fri Aug 14, 2009 9:02 pm
Forum: General category
Topic: bug with stringgrid ?
Replies: 1
Views: 3753

bug with stringgrid ?

i give a example:
y1=380-val(grid.cell(j,1))*uv    has a wrong result (uv and y1 are double,j is byte)
y1=380-(val(grid.cell(j,1))*uv)  has the good result
With a string variable at the place of grid.cell(j,1) the result is good in the first case
by azarus
Thu Aug 13, 2009 8:02 pm
Forum: General category
Topic: array declaration
Replies: 2
Views: 4701

array declaration

I hope that we can do it in the new version.
by azarus
Wed Aug 12, 2009 8:00 pm
Forum: General category
Topic: array declaration
Replies: 2
Views: 4701

array declaration

I have a problem with arrays declaration:
For exemple   Dim a(n) as integer doesn`t work with FNX.It work with others basics....