Sebastien Lelong wrote:
> Hi Wayne,
> 
> 
> Maybe try this, using "block ... end block"
> 
> 
> procedure k107_init(byte in  geo) is
>     case geo of
>         216:    block const byte cmd[] = "?G216" end block
>         220:    block const byte cmd[] = "?G220" end block
> 
> ...
> 
> 
> but I'm not sure cmd will still be available out of case's scope.

Right!!  the block/end block and the addition of  var byte cmd[] outside 
of the procedure killed the errors.  It also works if I put the
var byte cmd[] inside the procedure.  I'm not sure which is best?

JALv2's case implementation is a surely different than I am used to.

Thanks for the help Seb!

Wayne

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to