Description in manual is short and simpleQuote from: "vetelko"http://www.newlisp.org/downloads/newlisp_manual.html#setf"> //http://www.newlisp.org/downloads/newlisp_manual.html#setf
I
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuDescription in manual is short and simpleQuote from: "vetelko"http://www.newlisp.org/downloads/newlisp_manual.html#setf"> //http://www.newlisp.org/downloads/newlisp_manual.html#setf
Hmm, did you have the variable quoted maybe?Quote from: "ralph.ronnquist"
(set 'vowels '("a", "e", "i", "o", "u"))
;; define a function called pig-latin
(define (in-pig-latin this-word)
(set 'first-letter (first this-word))
(if (find first-letter vowels)
(append this-word "ay") ; concatenate word and "ay"
(append (slice this-word 1) first-letter "ay"))) ; concatenate
;; test the function
(println (in-pig-latin "red"))
(println (in-pig-latin "orange"))
(exit 0)
;; output is
;;edray
;;orangeay
;;Notes: the setf and setq function BROKE the code when I tried to use them
;; Why was that? When is setf and setq used in NL?
c:binnewlisp>java -jar guiserver.jar
newLISP-GS v.1.66 on Windows 10
double buffering not supported.
listening on 64001
Exception in thread "main" java.net.BindException: Address already in use: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at guiserver.main(guiserver.java:94)
(set 'name "some_name")
(if (= name "dukester") (emailPerson))