[CS3304_1381] variable storing value from function

New Message Reply About this list Date view Thread view Subject view Author view

Mark Hinkle (mhinkle@VT.EDU)
Thu, 2 Mar 2000 20:05:53 -0500


Message-ID:  <Pine.LNX.4.21.0003021929090.2016-100000@localhost.localdomain>
Date:         Thu, 2 Mar 2000 20:05:53 -0500
From: Mark Hinkle <mhinkle@VT.EDU>
Subject:      [CS3304_1381] variable storing value from function

I've been practically banging my head on my desk over this one... someone
please tell me what's wrong with this:

(define eval-line "blah")

(define (function)
; (let eval-loop
          (define line-value (eval-line))
          (write-string line-value)
; #t
; )
)

When I run it like this, all is fine and dandy, but wrapping the eval-loop
around it makes it barf. I've tried changing the (define line-value..) to
(let line-value...) and it's still not happy. Have tried putting another
set of parens around the newly changed let line too...

TIA,
Mark


New Message Reply About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b3 on Fri Mar 03 2000 - 00:04:13 EST