.decls Files

BlitzPlus Forums/BlitzPlus Beginners Area/.decls Files

CoderX(Posted 2005) [#1]
I just got BlitzPlus a couple of weeks ago, so far I'm lovin' the syntax.

Just wondering though, I've been trying to create my own .decls file using notepad and saving it as "filename.decls."

However, Blitz doesn't seem to be able to read .decls files created this way.

I know I can use the F-Userlib, but I'm just wondering
how these files can be created manually.

Any help is appreciated.


CS_TBL(Posted 2005) [#2]
euh..

my own decls file looks like:
.lib " "
StringFunction1$(a$)
SomeFunction1(a,b,c)
SomeFunction2(d,e,f)


saved as filename.decls

Then after a restart of B+, it should work..


CoderX(Posted 2005) [#3]
Yeah,

That's the format that I use, but I guess it's because notepad is saving it as a text file, even with the .decls extension in the name.

Now I just use F-Userlib and re-edit in Notepad.


CS_TBL(Posted 2005) [#4]
uh .. but I did edit my file in notepad as well .. as I do with all my files..

notepad can't be the reason I'd say..


PaulJG(Posted 2005) [#5]
change the SAVE TYPE AS extension to ALL FILES, and include the ".decls" on the end of the filename.


CoderX(Posted 2005) [#6]
change the SAVE TYPE AS extension to ALL FILES, and include the ".decls" on the end of the filename.

Right, that's probably it. I wasn't paying attention.

Many thanks.


Nicstt(Posted 2005) [#7]
yeh it can tend to add .txt

I usually copy an existing one, then change name of copy


Kevin(Posted 2005) [#8]
In the file name box you can also enclose the name (+ extension) in double quotes ".

e.g. "test.decl"