> Your mail is seen as spam, raise it with this answer.
> "Test" what kind of file it is?
Just a test file and I 'echo "stuff" > test' or 'echo "Other stuff" >>
test' from another shell.
On 01/10/2017 02:46 PM, gambas-user-requ...@lists.sourceforge
I am using Gambas 3.9.1
If I open a file for watch:
hFile = Open "test" For Read Write Watch
The _Read() event gets the first byte written to the file just fine. But
after, no changes to the file fire the read event. So as a workaround,
just close the file and reopen? On second read the _Read()
Are there any basic Gambas example projects/tutorials or is this a need.
I looked on the Tutorials page on the wiki and it of course says 'not
finished' and the link to working with files is dead. If there are no
examples/tutorials who is providing these and how can we contribute?
More to the
in the documentation?
Jeff H
On Wed, 2011-04-13 at 10:50 +0930, Bruce Bruen wrote:
On Wednesday, April 13, 2011 09:21:05 AM Jeff Halverson wrote:
I have something that is puzzling me that seems easy to do, but I can't
figure it out... I was hoping somebody might be able to help.
If I have
in a subsequent response to use the form
of ResultName[String] in lieu of ResultName!ResultField.
Thanks!
Jeff H
Tokyo
On Wed, 2011-04-13 at 10:19 +1000, richard terry wrote:
On Wednesday 13 April 2011 09:51:05 Jeff Halverson wrote:
I have something that is puzzling me that seems easy to do
Thanks, this is exactly what I was looking for. I knew there must be a
way to do this and am suprised I missed the Results[String] formating
option!
Jeff H
Tokyo
On Wed, 2011-04-13 at 10:50 +0930, Bruce Bruen wrote:
On Wednesday, April 13, 2011 09:21:05 AM Jeff Halverson wrote:
I have
to the resultset value?
Maybe something like:
FieldToSearchFor = DataSummary!RegionName
IF TextToSearchFor = Evaluate(FieldToSearchFor) THEN
' Do a bunch of stuff
END IF
Obviously the above doesn't work, but is there some means in Gambas to
achieve this result?
Any help is greatly appreciately.
Jeff H
Same as the other answers - define a class. It's a good habit to get
into to write accessor methods (set and get) or use properties rather
than public variables.
On Sat, 2009-04-25 at 01:55 -0700, juelin wrote:
hello,
it is possible to define a record into gambas?
thats mean a variable with
If I write:
IF expr1 OR expr2 THEN
If expr1 evaluates to TRUE does the OR return TRUE or does it still go
on to evaluate expr2?
--
Stay on top of everything new and different, both inside and
around Java (TM)
Try:
var = Class.Load(myclassname)
On Tue, 2009-04-21 at 15:51 +0200, Stefan Miefert wrote:
Hello,
how can i creat a class having a dynamic name?
for example.
I have some classnames in my database and want now do this
DIM cclass as class
Dim var = myclassname
Class = new var
I agree with Stephen's third button option. I don't think check boxes
are right as you can't be both simultaneously (except maybe in some
speciality bars and clubs). Radio buttons are the right way to go.
You may be able to get the behaviour you're asking for if you delete and
recreate the
On Wed, 2009-04-15 at 16:19 +0800, Werner wrote:
Bruce wrote:
This has sort of been asked before. However, the answers I have found
haven't
helped.
My database has a LOT of integer fields, arranged into sets of fieldwork
results. The majority of them contain nulls, quite validly
Gah - you just beat me :-)
Mine is as follows. Interesting to see different styles/solutions:
PRIVATE FUNCTION myBin(binString AS String) AS Long
DIM i AS Integer
DIM length AS Integer
DIM binResult AS Long = 0
length = Len(binString)
FOR i = length TO 1 STEP -1
binResult
That's pretty cool.
My only comment would be that it took me a few goes at stepping through the
code before I worked out how the blazes it worked, so perhaps less readable
than the exponent version.
But hey - I'm no rocket scientist :-)
From: ron...@tiscali.nl
function bin2dec(sBin)
Cool.
I have set it up. It will be interesting to see how many join.
On Sat, 2009-04-11 at 22:28 +0200, BenoƮt Minisini wrote:
Hey Benoit
I thought about setting up a group on LinkedIn for Gambas users. Could
help to spread the word. Are you ok with it or would you rather not?
I am ok.
But during the long years now I have written programs :-) I found that we
most
often test for errors than success. So using TRUE for errors leads to less
lines of code.
It is just a matter of habit. And changing habits is a good thing, it keeps
you young. :-)
I need something to
Hi All,
First post, so forgive me newbie-ness.
If I use the add method to add rows to a combo box I specify an index:
Eg:
ComboBoxProjects.Add(ZZ, 0)
ComboBoxProjects.Add(AA, 1)
Then in a button click event I use the index property to get the
selected row:
PRINT ComboBoxProjects.Index
This is
July 2008 13:23:46 Benoit Minisini wrote:
On dimanche 06 juillet 2008, Jeff Johnson wrote:
I know this has probably been replied to many times.
This works
hFile = OPEN wxaprs.ini FOR INPUT
This works
hFile = OPEN ./wxaprs.ini FOR INPUT
This fails with access forbidden
DIM
Pharm out...That is what I needed to know.. Thanks a bundle
On Sunday 06 July 2008 15:21:36 Benoit Minisini wrote:
On dimanche 06 juillet 2008, Jeff Johnson wrote:
My program also recreates html pages as the program runs, so am I correct
in thinking that I will not be able to do
19 matches
Mail list logo