preprocessFileLineNumbers – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
LOL - This was my question ^^
LOL - This was my question ^^
What is the difference between preprocessFileLineNumbers and preprocessFile?
What is the difference between preprocessFileLineNumbers and preprocessFile?
 
--[[User:ViperMaul|ViperMaul]]
----
----
The text string returned by preprocessFile -> "Text contained in file"
The text string returned by preprocessFile -> "Text contained in file"
Line 9: Line 9:
The text string returned by preprocessFileLineNumbers -> "#LINE 1 '<PathnameToFile>'" + the above.
The text string returned by preprocessFileLineNumbers -> "#LINE 1 '<PathnameToFile>'" + the above.
--[[User:Sy|Sy]] 16:52, 31 May 2007 (CEST)
--[[User:Sy|Sy]] 16:52, 31 May 2007 (CEST)
 
----
That is what I was hoping. Thanks!!
That is what I was hoping. Thanks!!
So I assume if there is an error in the code you would get better error feedback on the screen when your code breaks. A line number is better than guessing where in your code you saw that code before.
So I assume if there is an error in the code you would get better error feedback on the screen when your code breaks. A line number is better than guessing where in your code you saw that code before.
--[[User:ViperMaul|ViperMaul]] 17:26, 31 May 2007 (CEST)

Revision as of 16:26, 31 May 2007

What's the difference between this and preprocessFile? --T_D 21:23, 22 July 2006 (CEST)

LOL - This was my question ^^ What is the difference between preprocessFileLineNumbers and preprocessFile? --ViperMaul


The text string returned by preprocessFile -> "Text contained in file"

The text string returned by preprocessFileLineNumbers -> "#LINE 1 '<PathnameToFile>'" + the above. --Sy 16:52, 31 May 2007 (CEST)


That is what I was hoping. Thanks!! So I assume if there is an error in the code you would get better error feedback on the screen when your code breaks. A line number is better than guessing where in your code you saw that code before. --ViperMaul 17:26, 31 May 2007 (CEST)