Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LOGO-L> Re: out of list space error

1 view
Skip to first unread message

Brian Harvey

unread,
Jul 2, 1999, 3:00:00 AM7/2/99
to log...@gsn.org

jlwo...@my-deja.com writes:
> How high
>can I raise the LIST before it crashes the program?

I'm not a PC Logo user, but my guess is that this depends on the amount
of memory in your computer, unless perhaps Windows imposes some limit.

>Apparently there are about/over 100 small procedures that I am working with
>(The file is 15 KB at this point.). Is there a way to see all the procedures
>listed POTS only shows 90? lines. How about being able to see the
>instructions in each procedure? POPS only shows the last 90? lines so it
>surely doesn't allow me to see many of the procedures unless I ask
>individually ED, TO, or EDIT?

If there is a PROCEDURES primitive, it will give you a list of the names
of all the procedures. I dunno if PC Logo has one.

But perhaps you should ask yourself if some of those 100 procedures can be
eliminated. If there are some near-duplicates, you could write one common
procedure that takes an input to specify which alternative to use. I mean,
to take a trivial example, if you have

to smallsquare
repeat 4 [fd 50 rt 90]
end

to bigsquare
repeat 4 [fd 100 rt 90]
end

then you could replace them with

to square :size
repeat 4 [fd :size rt 90]
end

You probably don't have anything that obvious, but maybe you have some less
obvious combinable procedures.
---------------------------------------------------------------
Please post messages to the Logo forum to log...@gsn.org. Mail
questions about the list administration to log...@gsn.org. To
unsubscribe send unsubscribe logo-l to majo...@gsn.org.

jlwo...@my-deja.com

unread,
Jul 2, 1999, 3:00:00 AM7/2/99
to log...@gsn.org

In article <7lj4o5$g4u$1...@agate.berkeley.edu>,
Your idea is good, but how do I get to see the procedures?

POTS prints out the procedure names, but only about 90 lines

and POPS prints out what each procedure has in it, but again I only get to
see the last 90 lines at this point. Is there anyway to increase the number
of lines that is "scrollable"?


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

jlwo...@my-deja.com

unread,
Jul 3, 1999, 3:00:00 AM7/3/99
to log...@gsn.org

In article <7lgl0e$or2$1...@nnrp1.deja.com>,
jlwo...@my-deja.com wrote:
> Hi,
>
> I'm a teacher at Marion High School, Marion, Indiana, and I'm working on a
> project using P C Logo 2.0 on a Gateway 2000 with Windows '95.
>
> I have about 100 procedures.  When I print out POTS, I do not get to see all
> of the procedures.
>
> I have gotten to the position that with a couple of 'simple' procedures, the
> procedure apparently works, but it has the following message written 8 times:
>
>     Out of list space.
>     Please erase variables and/or procedures!
>     In function POWER_LEFT
>     statement    [TT [POWER - LEFT]]
>
> Again this message repeats itself 8 times
>
> I ran the procedure I-RIGHT with similar results
>
> my procedure POWER_LEFT is
>   PRO_LEFT
>   ACE
>   RB 3 1
>   MESSAGE
>   TT [ POWER - LEFT]
> END
>
> I am very interested in your ideas, and maybe ideas that you may have.
>
> Thank you for any assistance.

>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
>
I went to OPTIONS and pulled down to ENVIORNMENT
and for LIST ELEMENTS, I changed the number from 5,000.

When I changed the number to 50,000 it tried changing the set-up for the
restart of LOGO.

BUT everytime I try to restart LOGO it gives me an error message telling me
that the memory to is too much and to CLOSE the program. It does not let me
change the value to smaller value.

On another computer in the lab I've moved the LIST ELEMENTS first to 6,000 ,
then 10,000 and now 20,000 and at this point it seems to work fine. How high


can I raise the LIST before it crashes the program?

Apparently there are about/over 100 small procedures that I am working with


(The file is 15 KB at this point.). Is there a way to see all the procedures
listed POTS only shows 90? lines. How about being able to see the
instructions in each procedure? POPS only shows the last 90? lines so it
surely doesn't allow me to see many of the procedures unless I ask
individually ED, TO, or EDIT?

ANY advice would be greatly appreciated.

Terrapin

unread,
Jul 5, 1999, 3:00:00 AM7/5/99
to jlwo...@my-deja.com, log...@gsn.org
To see your procedures in PC Logo, you can type EDIT ALL which will put
all procedures currently in workspace in an editor. You can print them
from the edit window or search for any text string within the editor.

PROCLIST will put your procedure titles in a list. You can then use
that list to arrange the procedure titles in the order you prefer or
test to see if a particular procedure is in the list. PROCEDURE? will
tell you if a particular procedure is defined.

Bill

****************************************************************
Harvard Associates & makers of PC Logo and LogoPLUS
Terrapin Software Internet: in...@terrapinlogo.com
10 Holworthy Street phone: (617) 492-0660
Cambridge, MA 02138 USA fax: (617) 492-4610
World Wide Web: www.terrapinlogo.com
****************************************************************

-----Original Message-----
From: jlwo...@my-deja.com <jlwo...@my-deja.com>
To: log...@gsn.org <log...@gsn.org>
Date: Saturday, July 03, 1999 1:42 AM
Subject: LOGO-L> Re: out of list space error


>>
>Your idea is good, but how do I get to see the procedures?
>
>POTS prints out the procedure names, but only about 90 lines
>
>and POPS prints out what each procedure has in it, but again I only get to
>see the last 90 lines at this point. Is there anyway to increase the
number
>of lines that is "scrollable"?
>
>

Terrapin

unread,
Jul 5, 1999, 3:00:00 AM7/5/99
to jlwo...@my-deja.com, log...@gsn.org
When you change the amount of list space in PC Logo, the program writes
this amount in the PCLOGO2.INI file in your Windows directory. If you
make the value too large for the amount of memory in your computer, Logo
is unable to allocate that amount which prevents it from loading. You
can fix this by editing the PCLOGO2.INI file, which is a text file.
In the file you will find the statement NODES=nnnn where nnnn is the
number you set for list space. Change the 50000 to 10000 or a number
that works on your other machines and then try starting Logo again.

Bill

****************************************************************
Harvard Associates & makers of PC Logo and LogoPLUS
Terrapin Software Internet: in...@terrapinlogo.com
10 Holworthy Street phone: (617) 492-0660
Cambridge, MA 02138 USA fax: (617) 492-4610
World Wide Web: www.terrapinlogo.com
****************************************************************

-----Original Message-----
From: jlwo...@my-deja.com <jlwo...@my-deja.com>
To: log...@gsn.org <log...@gsn.org>
Date: Saturday, July 03, 1999 8:27 AM
Subject: LOGO-L> Re: out of list space error

>I went to OPTIONS and pulled down to ENVIORNMENT
>and for LIST ELEMENTS, I changed the number from 5,000.
>
>When I changed the number to 50,000 it tried changing the set-up for the
>restart of LOGO.
>
>BUT everytime I try to restart LOGO it gives me an error message telling me
>that the memory to is too much and to CLOSE the program. It does not let
me
>change the value to smaller value.
>
>On another computer in the lab I've moved the LIST ELEMENTS first to 6,000
,
>then 10,000 and now 20,000 and at this point it seems to work fine. How
high
>can I raise the LIST before it crashes the program?
>
>Apparently there are about/over 100 small procedures that I am working with
>(The file is 15 KB at this point.). Is there a way to see all the
procedures
>listed POTS only shows 90? lines. How about being able to see the
>instructions in each procedure? POPS only shows the last 90? lines so it
>surely doesn't allow me to see many of the procedures unless I ask
>individually ED, TO, or EDIT?
>
>ANY advice would be greatly appreciated.
>
>
>
>

0 new messages