Code: Select all
(rotate (copy "string"))
=> ?
(rotate "string") => "gstrin" ;; it is ok
(copy "string") => "string" ; it is ok too
Platform: Winxp sp3
Code: Select all
(rotate (copy "string"))
=> ?
(rotate "string") => "gstrin" ;; it is ok
(copy "string") => "string" ; it is ok too
Code: Select all
(set 'str "newLISP") → "newLISP"
(rotate (copy str)) → "PnewLIS"
Code: Select all
(set 'str "newLISP")
(rotate (setq str2(copy str)))