• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

problems with a string

  • Thread starter Thread starter Angelo2449
  • Start date Start date

Angelo2449

Guest
Hello everyone,
I have this inconvenience:
Code:
 (setq suptots (rtos suptotale 2 2))

(setq stringaris (strcat subject "," building "," address "," floor "," scale "," unitimm "," environment "," category "," suptots))

(princ "\n")
(princ "stringaris xxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
(princ stringaris)
(princ "\n")
(setq suptotale nil)

(setq titoio (strcat building floor unitimm)
(setq fp1 (open "c:\\calcmill\\result\\\titolo.dat" "a"))
(write-line stringaris fp1)
(close fp)
nice file produced, stringaris is broken in 2 with an interline :
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
the magenta residence - via sanchioli 20013 magenta mi# building 18#street pergolesi 7 - 20014 nerve#second#s4#apartment 4#kitchen#su

#35.36
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I don't understand why.
Thank you.
 
I answer."
I solved the problem by using the section of the program, in practice I saved the data using the dos!
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
ciao
Back
Top