1. 300 lines?

------=_NextPart_000_0005_01C00131.1D48A7E0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I made a quick program, or, well, I'm trying to. But, I've gotten an =
error message saying:

Your program exceeds 300 lines.......

So, It's telling me my program it's 300 lines long but, my program =
isn't. Here's what It looks like:

include image.e
include graphics.e
include pcsounds.e

integer gmode
gmode=3Dgraphics_mode(18)
use_vesa(1)
sequence ulrp,urrp,longmid,llr,lrr

qplay(bluePeter)

ulrp=3Dread_bitmap("ulrp.BMP")
urrp=3Dread_bitmap("urrp.BMP")
llr=3Dread_bitmap("llr.BMP")
lrr=3Dread_bitmap("lrr.BMP")
longmid=3Dread_bitmap("longmid.BMP")

display_image({1,1},ulrp[2])
display_image({550,1},urrp[2])
display_image({1,400},llr[2])
display_image({550,400},lrr[2])
display_image({5,70},longmid[2])

It's 23 lines long! Could you tell me how to fix this problem and I was =
wondering if I can have one ,ex file execute another.

e.g.

If I wrote a program that was a menu of games and when you chose one, it =
would open another ex file instead of having one confusing giant ex =
file.

Thanks




------=_NextPart_000_0005_01C00131.1D48A7E0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I made a quick program, or, well, I'm =
<EM>trying=20
to</EM>. But, I've gotten an error message saying:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><EM>Your program exceeds 300=20
lines.......</EM></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>So, It's telling me my program it's 300 =
lines long=20
but, my program isn't. Here's what It looks like:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>include image.e<BR>include =
graphics.e<BR>include=20
pcsounds.e</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>integer=20
ulrp,urrp,longmid,llr,lrr</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>qplay(bluePeter)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
id=3Dread_bitmap("longmid.BMP")</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
play_image({5,70},longmid[2])</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>It's 23 lines long! Could you tell me =
how to fix=20
this problem and I was wondering if I can have one ,ex file execute=20
another.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>e.g.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If I wrote a program that was a menu of =
games and=20
when you chose one, it would open another ex file instead of having one=20
confusing giant ex file.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>

------=_NextPart_000_0005_01C00131.1D48A7E0--

new topic     » topic index » view message » categorize

2. Re: 300 lines?

On 8 Aug 2000, at 12:06, Paul Kerslake wrote:

> I made a quick program, or, well, I'm trying to. But, I've gotten an error
> message saying:
>
> Your program exceeds 300 lines.......
>
> So, It's telling me my program it's 300 lines long but, my program isn't.
> Here's what It
> looks like:
>
> include image.e
> include graphics.e
> include pcsounds.e

There's the lines you didn't count, but which Eu did count.

Kat

new topic     » goto parent     » topic index » view message » categorize

3. Re: 300 lines?

---- Begin Original Message ----
 From: Kat <gertie at PELL.NET>
Sent: Tue, 8 Aug 2000 15:04:31 -0500
To: EUPHORIA at LISTSERV.MUOHIO.EDU
Subject: Re: 300 lines?

On 8 Aug 2000, at 12:06, Paul Kerslake wrote:

> I made a quick program, or, well, I'm trying
to. But, I've gotten an error message saying:
>
> Your program exceeds 300 lines.......
>
> So, It's telling me my program it's 300 lines
long but, my program isn't. Here's what It
> looks like:
>
> include image.e
> include graphics.e
> include pcsounds.e

There's the lines you didn't count, but which Eu
did count.

Kat

---- End Original Message ----
More specifically, unstamped include files are
counted in the 300 line limit. I know image.e and
graphics.e are stamped but I don't think
pcsounds.e is. How many lines is it??

-E.Allen Soard

Bookmark the HyperMart Small Business Center. All the tools you need to
succeed!
http://www.hypermart.net/center/

new topic     » goto parent     » topic index » view message » categorize

4. Re: 300 lines?

------=_NextPart_000_0031_01C00169.873A1B60
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,

You'll need to register Euphoria for this to go away
The info for this is in the documentation which came with
the PD edition of Eu............

After registering Euphoria my abilities sky rocketed
(somewhat) hehe.=20
The fact is that I too am new to programming but,=20
haveing registered Eu I can now see what's going on
behind the scene's instead of just guessing
What Robert ask in price for Eu, you cant beat it..

Registration MATTERS.
\\

euman at bellsouth.net


  ----- Original Message -----=20
  From: Paul Kerslake=20
  To: EUPHORIA at LISTSERV.MUOHIO.EDU=20
  Sent: Tuesday, August 08, 2000 3:06 PM
  Subject: 300 lines?


  I made a quick program, or, well, I'm trying to. But, I've gotten an =
error message saying:

  Your program exceeds 300 lines.......

  So, It's telling me my program it's 300 lines long but, my program =
isn't. Here's what It looks like:

  include image.e
  include graphics.e
  include pcsounds.e

  integer gmode
  gmode=3Dgraphics_mode(18)
  use_vesa(1)
  sequence ulrp,urrp,longmid,llr,lrr

  qplay(bluePeter)

  ulrp=3Dread_bitmap("ulrp.BMP")
  urrp=3Dread_bitmap("urrp.BMP")
  llr=3Dread_bitmap("llr.BMP")
  lrr=3Dread_bitmap("lrr.BMP")
  longmid=3Dread_bitmap("longmid.BMP")

  display_image({1,1},ulrp[2])
  display_image({550,1},urrp[2])
  display_image({1,400},llr[2])
  display_image({550,400},lrr[2])
  display_image({5,70},longmid[2])

  It's 23 lines long! Could you tell me how to fix this problem and I =
was wondering if I can have one ,ex file execute another.

  e.g.

  If I wrote a program that was a menu of games and when you chose one, =
it would open another ex file instead of having one confusing giant ex =
file.

  Thanks




------=_NextPart_000_0031_01C00169.873A1B60
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>You'll need to register Euphoria for =
this to go=20
away</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The info for this is in the =
documentation which=20
came with</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>the PD edition of =
Eu............</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>After registering Euphoria my abilities =
sky=20
rocketed</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>(somewhat) hehe. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The fact is that I too am new to =
programming but,=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>haveing registered Eu I can now see =
what's going=20
on</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>behind the scene's instead of just=20
guessing</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>What Robert ask in&nbsp;price =
</FONT><FONT=20
face=3DArial size=3D2>for Eu, you cant beat it..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Registration MATTERS.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>\\</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><A=20
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dpaulk at UNISERVE.COM href=3D"mailto:paulk at UNISERVE.COM">Paul =
Kerslake</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3DEUPHORIA at LISTSERV.MUOHIO.EDU=20
  =
</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, August 08, 2000 =
3:06=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> 300 lines?</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>I made a quick program, or, well, I'm =
<EM>trying=20
  to</EM>. But, I've gotten an error message saying:</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2><EM>Your program exceeds 300=20
  lines.......</EM></FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>So, It's telling me my program it's =
300 lines=20
  long but, my program isn't. Here's what It looks like:</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>include image.e<BR>include =
graphics.e<BR>include=20
  pcsounds.e</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>integer=20
  gmode<BR>gmode=3Dgraphics_mode(18)<BR>use_vesa(1)<BR>sequence=20
  ulrp,urrp,longmid,llr,lrr</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>qplay(bluePeter)</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial=20
  =
id=3Dread_bitmap("longmid.BMP")</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial=20
  =
play_image({5,70},longmid[2])</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>It's 23 lines long! Could you tell me =
how to fix=20
  this problem and I was wondering if I can have one ,ex file execute=20
  another.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>e.g.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>If I wrote a program that was a menu =
of games and=20
  when you chose one, it would open another ex file instead of having =
one=20
  confusing giant ex file.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>

------=_NextPart_000_0031_01C00169.873A1B60--

new topic     » goto parent     » topic index » view message » categorize

5. Re: 300 lines?

Hello Paul,
      I think I know where's your error, the routine qplay() is
      defined on the file pcspeak.e and you didn't include it. =)

--
Best regards,                            ICQ Number: 3198249
 Red Knight                          mailto:pampeano at rocketmail.com

Tuesday, August 08, 2000, 4:06:42 PM, you wrote:

PK> I made a quick program, or, well, I'm trying to. But, I've gotten
an error message saying:

PK> Your program exceeds 300 lines.......

PK> So, It's telling me my program it's 300 lines long but, my program
isn't. Here's what It looks like:

PK> include image.e
PK> include graphics.e
PK> include pcsounds.e

PK> integer gmode
PK> gmode=graphics_mode(18)
PK> use_vesa(1)
PK> sequence ulrp,urrp,longmid,llr,lrr

PK> qplay(bluePeter)

PK> ulrp=read_bitmap("ulrp.BMP")
PK> urrp=read_bitmap("urrp.BMP")
PK> llr=read_bitmap("llr.BMP")
PK> lrr=read_bitmap("lrr.BMP")
PK> longmid=read_bitmap("longmid.BMP")

PK> display_image({1,1},ulrp[2])
PK> display_image({550,1},urrp[2])
PK> display_image({1,400},llr[2])
PK> display_image({550,400},lrr[2])
PK> display_image({5,70},longmid[2])

PK> It's 23 lines long! Could you tell me how to fix this problem and I
was wondering if I can have
PK> one ,ex file execute another.

PK> e.g.

PK> If I wrote a program that was a menu of games and when you chose
one, it would open another ex
PK> file instead of having one confusing giant ex file.

PK> Thanks


__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

new topic     » goto parent     » topic index » view message » categorize

6. Re: 300 lines?

I've just figured out that pcsounds.e includes pcspeak.e, so I think
that the problem is that your bitmap files are 24bit colour bitmaps,
the euphoria routine read_bitmap() only accept 256 or less colors.
I hope this helps.

--
Best regards,                            ICQ Number: 3198249
 Red Knight                          mailto:pampeano at rocketmail.com


__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

new topic     » goto parent     » topic index » view message » categorize

7. Re: 300 lines?

You're getting a lot of explanations, but I don't see my "first
guess" on the list. The Euphoria documentation somewhere refers
to "stamped" vs unstamped files; with the caveat that stamped
files don't count against your total "line count." Check whether
or not the files you're including are stamped - if not, then the
total line count of those files is included in the 300 line
limit.

Just a guess

Ben

Paul Kerslake wrote:

> I made a quick program, or, well, I'm trying to. But, I've
> gotten an error message saying: Your program exceeds 300
> lines....... So, It's telling me my program it's 300 lines long
> but, my program isn't. Here's what It looks like: include
> image.e
> include graphics.e
> include pcsounds.e integer gmode
> gmode=graphics_mode(18)
> use_vesa(1)
> sequence
> ulrp,urrp,longmid,llr,lrr qplay(bluePeter) ulrp=read_bitmap("ulrp.BMP")
>
> urrp=read_bitmap("urrp.BMP")
> llr=read_bitmap("llr.BMP")
> lrr=read_bitmap("lrr.BMP")
> longmid=read_bitmap("longmid.BMP") display_image({1,1},ulrp[2])
>
> display_image({550,1},urrp[2])
> display_image({1,400},llr[2])
> display_image({550,400},lrr[2])
> display_image({5,70},longmid[2]) It's 23 lines long! Could you
> tell me how to fix this problem and I was wondering if I can
> have one ,ex file execute another. e.g. If I wrote a program
> that was a menu of games and when you chose one, it would open
> another ex file instead of having one confusing giant ex
> file. Thanks

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu