RE: Moving on...

new topic     » goto parent     » topic index » view thread      » older message » newer message

euman at bellsouth.net wrote:
> 
> 
> ----- Original Message ----- 
> From: "Al Getz" <Xaxo at aol.com>
> 
> > More small improvements will help though i'm sure.
> > Maybe we should start a 'wish list' for 2.5 to submit to Rob now?
> >
> > Top of my list is 'reuseable include files'.
> >
> > Take care for now,
> > Al
> 
> Multi-process execution / thread capable...
> Multi-process execution / thread capable...
> Multi-process execution / thread capable...
> 
> [Goto] [label] inside proc / func
> possibly an EXIT
> 
> sequence expected_var
> expected_var = {1,2}
> 
> procedure proc(var)
>      :init_label
>      if var =  expected_var[1] then
>         GOTO first_label
>      elsif var =  expected_var[2] then
>         GOTO second_label
>      else GOTO init_label end if
> 
>      :first_label
>          "Well, Im in the first_label now"
>          EXIT
>      :second_label
>          "Well, Im in the second_label now"
>          EXIT
>  -- you'll argue the point that I would continuosly loop if (var) isnt
> either of
>  -- the (expected_var) sequence. Answer, (var) could be an in ram pointer
>  -- that is changed....IF we had multi-process control.
> end procedure
> 
> I dont need 1000 explanations on how to make this work in Euphoria now,
> just making a generalized statment....
> 
> Euman
> 
> 

Very good idea, definitely.
Two threads would be good enough--one for background and
one for forground.  That would handle a lot.
For now im using queried functions instead of plain ol'
take-as-long-as-you-want-to-return functions when the
need arises for multithread-like behavior.
It's a little harder but it works.

Is that general enough?

Take care for now,
Al

P.S.
 Keeping an eye out for another update on the File Manager smile

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu