lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Oh! You are right. I typed it. In the code, the characters are right. But I tried also "[[ ]]", unfortunately, without results. But even if I had typed the wrong characters, it's terrible that executing the Pascal caller, I don't have any error. In case I had typed wrongly, an error should be shown.

----- Original Message ----- From: "Philippe Lhoste" <PhiLho@GMX.net>
To: <lua@bazar2.conectiva.com.br>
Sent: Thursday, December 31, 2009 5:26 PM
Subject: Re: Adding new paths for the access of embedded programs


On 31/12/2009 20:02, Luciano de Souza wrote:
path = 'c:\arquivos de programas\iup"

Bad start... (typed on the mail client? I will ignore the mixed up quotes...)
Use either

  path = 'c:/arquivos de programas/iup'

(slashes work OK in Windows XP and above)
or

  path = [[c:\arquivos de programas\iup]]

(literal strings doesn't use backslashed escape sequences)

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --