🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sbcs.cse114
Article #4

Re: pascal trouble

#4
From: David Tiberio
Date: Sun, 12 Apr 1992 03:44
34 lines
1872 bytes
In article <1992Apr12.024103.27635@sbcs.sunysb.edu> dtiberio@csws7.ic.sunysb.edu (David Tiberio) writes:
>
>	I have to do a database option where the user presses
>RETURN if he does not want the data changed. The string read
>in is an array of length 9. This is what I tried:
>
>	if string = '         ' then data_does_not_change;
>
>	This line is not being read for some reason the way
>I would expect it to. Should this work? It could be that I forgot
>something somewhere else, but I have had problems like this
>throughout this program.

	I solved this problem. It ends up I was messing
with the difficulty string instead of the name string!
Well, at least it only took me a few hours this time...


David Tiberio - user of Standard Pascal, the Miracle Language

I can't wait to start writing operating systems in Pascal. Or maybe
some artificial intelligence software that can write Pascal programs.
It would probably get a better grade then I would, so I could use
it to do my homework assignments.



				Sincerely,
				R2x ver 2.03.01

-- 
      //   David Tiberio  SUNY Stony Brook 2-3662  AMIGA  DDD-MEN   
     //  Not the llama! Come here Earl; I want to tell you something...
   \X/  Liverpool, New York	flames to suggestions@cbmvax.commodore.com
Technical Details
Message-ID: <1992Apr12.034402.28270@sbcs.sunysb.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!rutgers!cmcl2!sbcs.sunysb.edu!csws7.ic.sunysb.edu!dtiberio
References: <1992Apr12.011409.26898@sbcs.sunysb.edu> <1992Apr12.024103.27635@sbcs.sunysb.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!rutgers!cmcl2!sbcs.sunysb.edu!csws7.ic.sunysb.edu!dtiberio
From: dtiberio@csws7.ic.sunysb.edu (David Tiberio)
Newsgroups: sbcs.cse114,comp.lang.pascal
Subject: Re: pascal trouble
Message-ID: <1992Apr12.034402.28270@sbcs.sunysb.edu>
Date: 12 Apr 92 03:44:02 GMT
References: <1992Apr12.011409.26898@sbcs.sunysb.edu> <1992Apr12.024103.27635@sbcs.sunysb.edu>
Sender: usenet@sbcs.sunysb.edu (Usenet poster)
Distribution: na
Organization: State University of New York at Stony Brook
Lines: 34
Nntp-Posting-Host: csws7.ic.sunysb.edu