Re: [Hecl-devel] Any objections to a new release?
Brought to you by:
davidw
From: Zakaria <z4...@gm...> - 2009-08-21 06:27:31
|
On Wed, Aug 19, 2009 at 4:50 PM, David Welton <dav...@gm...> wrote: > > Wolfgang, have you coming back from your vacation? > > I would like to ask and discuss about your MIDP 2.0 commands. > He's mentioned that he's back, but quite busy - post away to the list. Currently I'm in the middle of project with tight deadline. I'll try to find time to post it next week. > > I choose the : prefix to make it doesn't collide with the examples. > > First I use __ prefix but they seem so verbose, so I pick another one. > I see... To tell the truth, since this is example code that people > will potentially use to get started with their own projects, I would > rather be a bit verbose, rather than 'convenient to edit on a phone'. Please change it to suit the style. > >> * Hecl indentation is definitely 4 :-) > > I know, but on the phone 4 space is too much. > > Maybe we could make the Canvas based editor and make this a non issue? > > Any volunteer? > Here's an idea: let's use tabs... hrm... those seem to be more than 4 > spaces on my phone. So... that doesn't work. 4 isn't bad on my > phone, but I suppose on devices with a bit less space it is not so > good. However, I'd still like to go with readability. Not including you can't type tab on most phone. Please go ahead with 4 space. What I have in mind is we create a canvas based editor where we edit line by line. Maybe I'll post some proof of concept later next week. > >> alias /alert lcdui.alert > > In the long run I would like to make the default command short > > and to the point, so we don't even need the alias. > I think the idea was to avoid conflicts with things like list - lcdui.list. A simple rename perhaps: listbox listscreen listpage > > Here's what I have in mind for Hecl 2.0: > > set form [form title: "Form Title"] > > set name [text label: "Name:" text: "Your name here"] > > $form append $name > > set cmd [cmd label: Greet llabel: "Greeting"] > > $form add $cmd { > > showmsg "Hello [$name get text:]" > > } > > $form add [cmd label: Exit llabel: "Exit App"] { > > midlet.exit > > } > > $form show > I like it - it actually looks a little bit more like the midp1.0 code > I did:-) Did you have a look at that? Unfortunately, I didn't. That's remind me to print Hecl Midp source with trueprint. Do you have any plan for Hecl 2.0? Post away in another thread. > -- > David N. Welton -- Zakaria z4...@gm... Yahoo!: z4k4ri4 http://tukangprogram.com http://pemula.linux.or.id |