🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.basic
Article #285

Re: Passing arguments to Procedures

#285
From: Robert Meunier
Date: Wed, 14 Oct 1992 17:15
28 lines
1048 bytes
In article BBK@ireq.hydro.qc.ca, I writes:
>
>	I would say that the only "GOTCHAS" is to always know if
>a variable may be modified inside a procedure.
>
>
>	for i=1 to 100
>		call x(i)
>	next i
>
>	end
>
>
>	Sub x(no)
>		x=200
of course
		no=200
>	end sub
>

	Sorry for that mistake


---
Robert Meunier                     Institut de Recherche d'Hydro-Quebec
Ingenieur                          1800 Montee Ste-Julie, Varennes
Internet: robert@ireq.hydro.qc.ca  Qc, Canada, J3X 1S1 
maintainer: BASIC mailing list request to basic-request@ireq.hydro.qc.ca
Technical Details
Message-ID: <Bw4Fxz.BsC@ireq.hydro.qc.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!newsflash.concordia.ca!hobbit.ireq.hydro.qc.ca!bofur!robert
References: <Bw495t.BBK@ireq.hydro.qc.ca>

Show Full Headers
Complete Article Headers
Newsgroups: alt.lang.basic
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!newsflash.concordia.ca!hobbit.ireq.hydro.qc.ca!bofur!robert
From: robert@ireq.hydro.qc.ca (Robert Meunier)
Subject: Re: Passing arguments to Procedures
Message-ID: <Bw4Fxz.BsC@ireq.hydro.qc.ca>
Sender: news@ireq.hydro.qc.ca (Netnews Admin)
Reply-To: robert@ireq.hydro.qc.ca
Organization: Hydro-Quebec (IREQ)
References: <Bw495t.BBK@ireq.hydro.qc.ca>
Date: Wed, 14 Oct 1992 17:15:34 GMT
Lines: 29