header file from js?

This forum is for all Flare issues not related to any of the other categories.
Post Reply
cayennep
Sr. Propeller Head
Posts: 394
Joined: Mon Jul 26, 2010 3:42 pm

header file from js?

Post by cayennep »

I'm trying to import a file to be our header file. It's actually a .js file but thought it might at least populate some info.

However, even tho I renamed it to .h, Flare does not see it on trying to create from existing.

Any tips on how to get this info into Flare, rather than have to do it manually?

Thanks
GregStenhouse
Sr. Propeller Head
Posts: 330
Joined: Tue May 13, 2008 3:27 pm
Location: Christchurch, New Zealand

Re: header file from js?

Post by GregStenhouse »

The h file is pretty basic, with #define, space, text identifier, space then numeric/hex value. I imagine Flare only knows this format when adding an existing file, so you'll need to manipulate the .js file (perhaps using regex in a text editor like Notepad++) to the proper header format before adding it. See http://help.madcapsoftware.com/flare201 ... -Files.htm for more info.
cayennep
Sr. Propeller Head
Posts: 394
Joined: Mon Jul 26, 2010 3:42 pm

Re: header file from js?

Post by cayennep »

Thanks, I had already figured that out and moved on, posting another shortly
Post Reply