1. Llama Problems
- Posted by Jan & Gerald Harvey <vk2bnh at IX.NET.AU> Jun 18, 1999
- 470 views
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> Is this what Llama means? I downloaded it and EVERY example program I ran it spat at me a load of errors. Someone clarify this. <br> <br> <p>Neil Harvey</html>
2. Re: Llama Problems
- Posted by David Cuny <dcuny at LANSET.COM> Jun 18, 1999
- 434 views
Neil Harvey wrote: > Is this what Llama means? I downloaded it and > EVERY example program I ran it spat at me a > load of errors. Someone clarify this. I suspect that it gave you warnings, not errors. The warnings relate to Llama's use of parameters - specifically, it's not using them. Llama triggers code in response to Windows events, passing a number of parameters that describe the event in detail. In some cases, the event handler may choose to ignore certain values. For example, an onPaint event returns the area of the screen that needs to be repainted: {x1,y1,x2,y2}. Typically, the demos ignore these values and simply repaint the entire window: procedure Paint( integer x1, integer y1, integer x2, integer y2 ) ... repaint the window ... end procedure Since the "without warning" option is not selected, Euphoria helpfully issues warnings about each of these parameters: warning: parameter x1 in Paint() is not used warning: parameter y1 in Paint() is not used warning: parameter x2 in Paint() is not used warning: parameter y2 in Paint() is not used Multiply this by a handful of similar event handlers, and you have a screenful of warnings. I've left them in because (1) in some cases, they are actually useful warnings, and (2) it reminds people that Llama is still alpha software. I hope this helps! -- David Cuny
3. Re: Llama Problems
- Posted by Jan & Gerald Harvey <vk2bnh at IX.NET.AU> Jun 18, 1999
- 439 views
- Last edited Jun 19, 1999
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <p>David Cuny wrote: <blockquote TYPE=CITE>Neil Harvey wrote: <p>> Is this what Llama means? I downloaded it and <br>> EVERY example program I ran it spat at me a <br>> load of errors. Someone clarify this. <p>I suspect that it gave you warnings, not errors. The warnings relate to <br>Llama's use of parameters - specifically, it's not using them.</blockquote> That's right. <blockquote TYPE=CITE>Llama <br>triggers code in response to Windows events, passing a number of parameters <br>that describe the event in detail. In some cases, the event handler may <br>choose to ignore certain values. <p>For example, an onPaint event returns the area of the screen that needs to <br>be repainted: {x1,y1,x2,y2}. Typically, the demos ignore these values and <br>simply repaint the entire window: <p> procedure Paint( integer x1, integer y1, integer x2, integer y2 ) <br> ... repaint the window ... <br> end procedure <p>Since the "without warning" option is not selected, Euphoria helpfully <br>issues warnings about each of these parameters:</blockquote> <blockquote TYPE=CITE> warning: parameter x1 in Paint() is not used <br> warning: parameter y1 in Paint() is not used <br> warning: parameter x2 in Paint() is not used <br> warning: parameter y2 in Paint() is not used <br> </blockquote> So if I just put "without warning" in my Llama file it will stop the warnings??? <blockquote TYPE=CITE> <br>Multiply this by a handful of similar event handlers, and you have a <br>screenful of warnings.</blockquote> More than a screenful! <blockquote TYPE=CITE>I've left them in because (1) in some cases, they are <br>actually useful warnings,</blockquote> It's Possible that they are useful.. <blockquote TYPE=CITE>and (2) it reminds people that Llama is still <br>alpha software. <br> </blockquote> Definitely alpha software! <blockquote TYPE=CITE> <br>I hope this helps! <p>-- David Cuny</blockquote> Thanks <br> <p>Neil Harvey</html>
4. Re: Llama Problems
- Posted by "Cuny, David" <David.Cuny at DSS.CA.GOV> Jun 18, 1999
- 451 views
Neil Harvey wrote: > So if I just put "without warning" in my > Llama file it will stop the warnings? Yes. -- David Cuny
5. Re: Llama Problems
- Posted by Jan & Gerald Harvey <vk2bnh at IX.NET.AU> Jun 20, 1999
- 433 views
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <p>"Cuny, David" wrote: <blockquote TYPE=CITE>Neil Harvey wrote: <p>> So if I just put "without warning" in my <br>> Llama file it will stop the warnings? <p>Yes.</blockquote> Thanks. I'm a bit new to euphoria. I don't play around with it much. <p>Neil Harvey <br> </html>
6. Re: Llama Problems
- Posted by Irv Mullins <irv at ELLIJAY.COM> Jun 20, 1999
- 429 views
On Sun, 20 Jun 1999, Jan & Gerald Harvey wrote: > <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> > <html> > > <p>"Cuny, David" wrote: > <blockquote TYPE=CITE>Neil Harvey wrote: > <p>> So if I just put "without warning" in my > <br>> Llama file it will stop the warnings? > <p>Yes.</blockquote> > Thanks. I'm a bit new to euphoria. I don't play around with it much. > <p>Neil Harvey > <br> </html> HI <p>Neil Harvey<g> Please see if tyou can get rid of the <!@#$#> invalid html code in your posts. It makes them really hard to read. Or, let us know what program you are using to post with, so we can avoid it. Thanks, Irv
7. Re: Llama Problems
- Posted by Jan & Gerald Harvey <vk2bnh at IX.NET.AU> Jun 21, 1999
- 437 views
- Last edited Jun 22, 1999
Irv Mullins wrote: > On Sun, 20 Jun 1999, Jan & Gerald Harvey wrote: > > <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> > > <html> > > > > <p>"Cuny, David" wrote: > > <blockquote TYPE=CITE>Neil Harvey wrote: > > <p>> So if I just put "without warning" in my > > <br>> Llama file it will stop the warnings? > > <p>Yes.</blockquote> > > Thanks. I'm a bit new to euphoria. I don't play around with it much. > > <p>Neil Harvey > > <br> </html> > > HI <p>Neil Harvey<g> > Please see if tyou can get rid of the <!@#$#> invalid html code > in your posts. It makes them really hard to read. Or, let us know > what program you are using to post with, so we can avoid it. > > Thanks, > Irv There! I FINALLY figured it out! By the way... Can you try to stop sending double messages? Neil Harvey