Hi, I have an problem with MESSAGEDLG function.
The fnxcompiler does know the parameters "buttons" and "type"...?
The code (from the fnxbasic helpfile):
[code]
`messagedlg_test by PaPi
` (from fnxbasic helpfile)
dim answer as integer, i as integer
answer=messagedlg("Now stop?","Stop?", mbYesNo + mbiconquestion)
if answer=idyes then
showmessage "it has been clicked on the YES button"
else
showmessage "it has been clicked on the NO button"
end if
[/code]
thanks, PaPi
bug in messagedlg function ???
bug in messagedlg function ???
I guess your using an older version of the compiler please load the new package.
Then it should be work.
best regards
Then it should be work.
best regards
bug in messagedlg function ???
Yes I have the new package. But then the last compiler in fnxbasic02.zip (date: 02. juni. 2007 18:06)
to get nowhere with code below:
[code]
`program: uses_test by PaPi
uses test_1
showmessage programfolder(appname$)
[/code]
and the file test_1.lib:
[code]
function programfolder(xyz as string) as string
dim x as string
dim i as integer
x=lcase$(xyz)
i=rinstr(x,"")
result=left$(x,i)
end function
[/code]
And the compiler have trouble with variable xyz.
Therefore I use the older compiler...
best regards PaPi
to get nowhere with code below:
[code]
`program: uses_test by PaPi
uses test_1
showmessage programfolder(appname$)
[/code]
and the file test_1.lib:
[code]
function programfolder(xyz as string) as string
dim x as string
dim i as integer
x=lcase$(xyz)
i=rinstr(x,"")
result=left$(x,i)
end function
[/code]
And the compiler have trouble with variable xyz.
Therefore I use the older compiler...
best regards PaPi
bug in messagedlg function ???
Sorry,
I hope i get rid of the bug now,
I fixed the predeclaration of the include but the one for uses did not works.
I tested the new compiler zip03 and it seems to work.
I think I don`t have to say where you could download it :)
best regards
I hope i get rid of the bug now,
I fixed the predeclaration of the include but the one for uses did not works.
I tested the new compiler zip03 and it seems to work.
I think I don`t have to say where you could download it :)
best regards
bug in messagedlg function ???
Thanks for you.
Also where I could download compiler zip03 ?
PaPi
Also where I could download compiler zip03 ?
PaPi