Semicolon in TDF files...

Everything related to the code /
Tout ce qui touche au code
Post Reply
milipili
Posts: 545
Joined: Thu Nov 02, 2006 8:52 am
Location: Paris (France)
Contact:

Semicolon in TDF files...

Post by milipili » Thu Jul 17, 2008 8:32 am

How can I put a semicolon in a value of a key in a TDF file ?
Like this ?

Code: Select all

[section] { key = value\; foo bar and so on...; }
It is to complete this wiki page : http://ta3d-trac.shikami.org/wiki/TDF
Damien Gerard
Ta3d & Yuni Developer

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Thu Jul 17, 2008 9:28 am

hm good question, it's not possible at the moment, a ';' is seen as a end of line and isn't returned by the parser ... you can add code to avoid this when there is a '\' before.
=>;-D Penguin Powered

milipili
Posts: 545
Joined: Thu Nov 02, 2006 8:52 am
Location: Paris (France)
Contact:

Post by milipili » Thu Jul 17, 2008 12:53 pm

It will be the case in a few revisions :)
Damien Gerard
Ta3d & Yuni Developer

Post Reply

Who is online

Users browsing this forum: No registered users and 34 guests