Code: Select all
newLISP-GS v.1.36 on Mac OS X
listening on 47011
accepted connection from 0.0.0.0
connecting to 0.0.0.0:47012
retrying to connect
server connected
ERR: missing parenthesis : "...rea-event \"MAIN:data-input-area\" 53 "
called from user defined function gs:listen
server shutdown
Code: Select all
(define (listen flag)
(while (net-receive in event 1000000000 "\n")
(eval-string event))
(println "server shut down")
(if (not flag) (exit))
)
I can't work out how a missing parenthesis error appears during execution, rather than at the start.
I think the error is coming from this:
Code: Select all
(gs:get-text 'data-input-area)
Clues/debugging tips would be most appreciated... :)