DelphiFAQ Home Search:

Line too long (more than 1023 characters)

 

comments5 comments. Current rating: 2 stars (1 votes). Leave comments and/ or rate it.

Question:
When I try to compile, I suddenly get this error message:

Line too long (more than 1023 characters).

- but I cannot find any line to have more than 120 characters.

Answer:

Most likely you imported your source file from a CVS on a Unix machine, or you used an editor, that saves Unix style line separators. This will confuse Delphi. Homesite is a tool that will do this to you, I found.

Your line separators of #10s must be replaced by #13#10 as it is standard in DOS/ Windows.

In my case, I used Homesite to convert to Windows style documents.
Content-type: text/html

Comments:

2006-10-06, 18:10:46
vimarso1@yahoo.es from Colombia  
rating
Falta decir donde se puede encontrar la herramienta....Me indicas por favor.
2014-01-20, 09:45:09   (updated: 2014-01-20, 09:46:43)
anonymous from Brazil  
12
2018-04-08, 23:14:05
anonymous from Brazil  
<?xml version='1.0' encoding='UTF-8'?><CFe>'#$D#$A' <infCFe versaoDadosEnt='0.07'>'#$D#$A' <ide>'#$D#$A' <CNPJ>00000000000000</CNPJ>'#$D#$A' <signAC/>'#$D#$A' <numeroCaixa>000</numeroCaixa>'#$D#$A' </ide>'#$D#$A' <emit>'#$D#$A' <CNPJ>00000000000000</CNPJ>'#$D#$A' <IE></IE>'#$D#$A' <indRatISSQN>S</indRatISSQN>'#$D#$A' </emit>'#$D#$A' <dest>'#$D#$A' </dest>'#$D#$A' <det nItem='1'>'#$D#$A' <prod>'#$D#$A' <cProd>18</cProd>'#$D#$A' <xProd>CANETA HIDROGRAFICA AZUL ESCURO 0,4MM POINT 88/41</xProd>'#$D#$A' <NCM>96089981</NCM>'#$D#$A' <CFOP>5102</CFOP>'#$D#$A' <uCom>UN</uCom>'#$D#$A' <qCom>1.0000</qCom>'#$D#$A' <vUnCom>5.20</vUnCom>'#$D#$A' <indRegra>A</indRegra>'#$D#$A' <obsFiscoDet xCampoDet='.'>'#$D#$A' <xTextoDet>.</xTextoDet>'#$D#$A' </obsFiscoDet>'#$D#$A' </prod>'#$D#$A' <imposto>'#$D#$A' <vItem12741>2.50</vItem12741>'#$D#$A' <ICMS>'#$D#$A' <ICMSSN102>'#$D#$A' <Orig>0</Orig>'#$D#$A' <CSOSN>102</CSOSN>'#$D#$A' </ICMSSN102>'#$D#$A' </ICMS>'#$D#$A' <PIS>'#$D#$A' <PISSN>'#$D#$A' <CST>49</CST>'#$D#$A' </PISSN>'#$D#$A' </PIS>'#$D#$A' <COFINS>'#$D#$A' <COFINSSN>'#$D#$A' <CST>49</CST>'#$D#$A' </COFINSSN>'#$D#$A' </COFINS>'#$D#$A' </imposto>'#$D#$A' </det>'#$D#$A' <total>'#$D#$A' <vCFeLei12741>0.00</vCFeLei12741>'#$D#$A' </total>'#$D#$A' <pgto>'#$D#$A' <MP>'#$D#$A' <cMP>01</cMP>'#$D#$A' <vMP>5.20</vMP>'#$D#$A' </MP>'#$D#$A' </pgto>'#$D#$A' <infAdic>'#$D#$A' <infCpl>Trib aprox R$: 1,57 Federal e R$: 0,94 Estadual;Valor aproximado dos tributos deste cupom R$ 2,50;(Conforme Lei Fed 12.741/2012);Fonte: IBPT M2L5P8;;Terminal: 001Operador Caixa: 0001-ALEX REIS</infCpl>'#$D#$A' </infAdic>'#$D#$A' </infCFe>'#$D#$A'</CFe>'#$D#$A
2018-04-08, 23:14:47
anonymous from Brazil  
<?xml version='1.0' encoding='UTF-8'?><CFe>'#$D#$A' <infCFe versaoDadosEnt='0.07'>'#$D#$A' <ide>'#$D#$A' <CNPJ>00000000000000</CNPJ>'#$D#$A' <signAC/>'#$D#$A' <numeroCaixa>000</numeroCaixa>'#$D#$A' </ide>'#$D#$A' <emit>'#$D#$A' <CNPJ>00000000000000</CNPJ>'#$D#$A' <IE></IE>'#$D#$A' <indRatISSQN>S</indRatISSQN>'#$D#$A' </emit>'#$D#$A' <dest>'#$D#$A' </dest>'#$D#$A' <det nItem='1'>'#$D#$A' <prod>'#$D#$A' <cProd>18</cProd>'#$D#$A' <xProd>CANETA HIDROGRAFICA AZUL ESCURO 0,4MM POINT 88/41</xProd>'#$D#$A' <NCM>96089981</NCM>'#$D#$A' <CFOP>5102</CFOP>'#$D#$A' <uCom>UN</uCom>'#$D#$A' <qCom>1.0000</qCom>'#$D#$A' <vUnCom>5.20</vUnCom>'#$D#$A' <indRegra>A</indRegra>'#$D#$A' <obsFiscoDet xCampoDet='.'>'#$D#$A' <xTextoDet>.</xTextoDet>'#$D#$A' </obsFiscoDet>'#$D#$A' </prod>'#$D#$A' <imposto>'#$D#$A' <vItem12741>2.50</vItem12741>'#$D#$A' <ICMS>'#$D#$A' <ICMSSN102>'#$D#$A' <Orig>0</Orig>'#$D#$A' <CSOSN>102</CSOSN>'#$D#$A' </ICMSSN102>'#$D#$A' </ICMS>'#$D#$A' <PIS>'#$D#$A' <PISSN>'#$D#$A' <CST>49</CST>'#$D#$A' </PISSN>'#$D#$A' </PIS>'#$D#$A' <COFINS>'#$D#$A' <COFINSSN>'#$D#$A' <CST>49</CST>'#$D#$A' </COFINSSN>'#$D#$A' </COFINS>'#$D#$A' </imposto>'#$D#$A' </det>'#$D#$A' <total>'#$D#$A' <vCFeLei12741>0.00</vCFeLei12741>'#$D#$A' </total>'#$D#$A' <pgto>'#$D#$A' <MP>'#$D#$A' <cMP>01</cMP>'#$D#$A' <vMP>5.20</vMP>'#$D#$A' </MP>'#$D#$A' </pgto>'#$D#$A' <infAdic>'#$D#$A' <infCpl>Trib aprox R$: 1,57 Federal e R$: 0,94 Estadual;Valor aproximado dos tributos deste cupom R$ 2,50;(Conforme Lei Fed 12.741/2012);Fonte: IBPT M2L5P8;;Terminal: 001Operador Caixa: 0001-ALEX REIS</infCpl>'#$D#$A' </infAdic>'#$D#$A' </infCFe>'#$D#$A'</CFe>'#$D#$A
2018-04-08, 23:15:05
anonymous from Brazil  
<?xml version='1.0' encoding='UTF-8'?><CFe>'#$D#$A' <infCFe versaoDadosEnt='0.07'>'#$D#$A' <ide>'#$D#$A' <CNPJ>00000000000000</CNPJ>'#$D#$A' <signAC/>'#$D#$A' <numeroCaixa>000</numeroCaixa>'#$D#$A' </ide>'#$D#$A' <emit>'#$D#$A' <CNPJ>00000000000000</CNPJ>'#$D#$A' <IE></IE>'#$D#$A' <indRatISSQN>S</indRatISSQN>'#$D#$A' </emit>'#$D#$A' <dest>'#$D#$A' </dest>'#$D#$A' <det nItem='1'>'#$D#$A' <prod>'#$D#$A' <cProd>18</cProd>'#$D#$A' <xProd>CANETA HIDROGRAFICA AZUL ESCURO 0,4MM POINT 88/41</xProd>'#$D#$A' <NCM>96089981</NCM>'#$D#$A' <CFOP>5102</CFOP>'#$D#$A' <uCom>UN</uCom>'#$D#$A' <qCom>1.0000</qCom>'#$D#$A' <vUnCom>5.20</vUnCom>'#$D#$A' <indRegra>A</indRegra>'#$D#$A' <obsFiscoDet xCampoDet='.'>'#$D#$A' <xTextoDet>.</xTextoDet>'#$D#$A' </obsFiscoDet>'#$D#$A' </prod>'#$D#$A' <imposto>'#$D#$A' <vItem12741>2.50</vItem12741>'#$D#$A' <ICMS>'#$D#$A' <ICMSSN102>'#$D#$A' <Orig>0</Orig>'#$D#$A' <CSOSN>102</CSOSN>'#$D#$A' </ICMSSN102>'#$D#$A' </ICMS>'#$D#$A' <PIS>'#$D#$A' <PISSN>'#$D#$A' <CST>49</CST>'#$D#$A' </PISSN>'#$D#$A' </PIS>'#$D#$A' <COFINS>'#$D#$A' <COFINSSN>'#$D#$A' <CST>49</CST>'#$D#$A' </COFINSSN>'#$D#$A' </COFINS>'#$D#$A' </imposto>'#$D#$A' </det>'#$D#$A' <total>'#$D#$A' <vCFeLei12741>0.00</vCFeLei12741>'#$D#$A' </total>'#$D#$A' <pgto>'#$D#$A' <MP>'#$D#$A' <cMP>01</cMP>'#$D#$A' <vMP>5.20</vMP>'#$D#$A' </MP>'#$D#$A' </pgto>'#$D#$A' <infAdic>'#$D#$A' <infCpl>Trib aprox R$: 1,57 Federal e R$: 0,94 Estadual;Valor aproximado dos tributos deste cupom R$ 2,50;(Conforme Lei Fed 12.741/2012);Fonte: IBPT M2L5P8;;Terminal: 001Operador Caixa: 0001-ALEX REIS</infCpl>'#$D#$A' </infAdic>'#$D#$A' </infCFe>'#$D#$A'</CFe>'#$D#$A

 

 

NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.
 

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: