🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.smalltalk.bug
Article #18

Need help taking advantage of st.el's interactive support

#18
From: Emmett McLean
Date: Sat, 03 Oct 1992 07:01
60 lines
1692 bytes
Does anyone have  supplemental documentation on how to
use the interactive smalltalk commands such as
smalltalk-doit, smalltalk-compile, and smalltalk-snapshot?

My path set up so st.el finds mst and
when I type "M-x mst" I get the desired two window 
set up. If anyone is really ambitous they might
I instruct mst to evaluate the last 10 lines of code
below.

Your help is greatly appreciated. By helping me you are
also helping about 10 other students who find this of interest.

Regards, Emmett vpcsc4@sfsuvax1.sfsu.edu

= = c u t  h e r e = =
Object subclass: #GraphNode
	instanceVariableNames:'neighbors'
	classVariableNames:''
	poolDictionaries:''
	category: nil.
	!


!GraphNode class methodsFor:'creation'!
new
	^super new initNeighbors	
!!

	
!GraphNode methodsFor: 'all'!
initNeighbors
	neighbors_Set new
!

neighbors
	^neighbors
!
 
addNeighbor: theNode
	neighbors add: theNode.
!

doWithNeighbors: aBlock
	^neighbors do: aBlock
!

= theNode
	self subclassResponsibility
!!

|m l o count|
l_ GraphNode new.
m_ GraphNode new.
o_ GraphNode new.
l addNeighbor: m.
l addNeighbor: o.
count_0.
(l doWithNeighbors: [count_count+1]).
count printNl!
Technical Details
Message-ID: <1992Oct3.070113.9436@csus.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!sfsuvax1.sfsu.edu!vpcsc4

Show Full Headers
Complete Article Headers
Newsgroups: gnu.smalltalk.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!sfsuvax1.sfsu.edu!vpcsc4
From: vpcsc4@sfsuvax1.sfsu.edu (Emmett McLean)
Subject: Need help taking advantage of st.el's interactive support
Message-ID: <1992Oct3.070113.9436@csus.edu>
Sender: gnulists@ai.mit.edu
Organization: San Francisco State University
Distribution: gnu
Date: Sat, 3 Oct 1992 07:01:13 GMT
Approved: bug-smalltalk@prep.ai.mit.edu
Lines: 61