[Fwd: Re: [Gambas-user] Questions]

Ken Schrock kschrock at ...149...
Wed Dec 24 04:58:37 CET 2003


Thanks for the tip, so here is a tip back : -)

You guys often assume everybody is using the bleeding edge version
When, at least for me, Gambas on Debian is not easy, usually
So I use Lindows and wait for them to get it working
And put it up in the Click-N-Run warehouse

I used 0.5x for a long time and now use 0.6x
Key.Code = Key.Return doesn't work on this
But Code = Key.Return did
Thanks again

On Tuesday 23 December 2003 3:52 pm, you wrote:
> -------- Original Message --------
> Subject: 	Re: [Gambas-user] Questions
> Date: 	Tue, 23 Dec 2003 08:59:46 -0500
> From: 	Rob <sourceforge-raindog2 at ...94...>
> Reply-To: 	gambas-user at lists.sourceforge.net
> To: 	gambas-user at lists.sourceforge.net
> References: 	<200312230852.46345.kschrock at ...149...>
>
> On Tuesday 23 December 2003 11:52, Ken Schrock wrote:
> > How does one do a character array or string array here?
>
> BASIC style:
>
> dim score[35] as String
>
> Java style:
>
> dim score as new String[]
>
> The former are static (no REDIM) but are multi-dimensional.
> The latter are dynamic, but you have to add elements before
> referring to them (e.g.
>
> for i = 1 to 35
> 	score.add "default value"
> next
>
> )... of course, you can simulate multidimensionality in the
> dynamic ones by making an array of objects and assigning an
> array of strings to each object.... and there's also
> collections, which are like a special case of array where the
> keys are variants.
>
> See also:
>
> http://www.binara.com/gambas-wiki/bin/view/Gambas/HowDoIMakeMultidimensiona
>lArray
>
> > Also, I need to check a textbox for a return key press
> > I tried
> >
> > PUBLIC SUB TextBox1_KeyPress(Ascii AS String, Code AS Integer,
> > State AS Integer)
>
> The KeyPress and KeyRelease events have changed.... they take no
> parameters now, but you can just do this inside them:
>
> IF Key.Code = Key.Return THEN
>    Run_Button_Click()
> ENDIF
>
> It's in the new documentation, but of course there are other
> issues with the new documentation I need to work out (and in
> fact I need to re-export for 0.74 over the holidays.)
>
> > But no workee
>
> I haven't seen that error message before.  When did it come up
> exactly? ;)
>
> Rob
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list