v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "User talk:0x517A5D"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(New page: == Search Function == It may be helpful to make it clear the search function used in your version-independent code examples is a user-define function and is not associated with the STL se...)
 
Line 4: Line 4:
  
 
--[[User:Masdus|Masdus]] 22:08, 28 November 2007 (EST)
 
--[[User:Masdus|Masdus]] 22:08, 28 November 2007 (EST)
 +
 +
:That's a good point about search().  I've just renamed it hexsearch() in my most recent (not yet released) source.<br/>I had started to document the search patterns in a more generic way, but decided that (a) it took me too long to translate, and (b) few of the target audience would be able and willing to retranslate into their own search-like functions.  So I just started cutting and pasting patterns out of my source.<br/>As for posing the source to hexsearch(), I think that the target audience can track it down.  (If we could host arbitrary files directly on this wiki, I would.  I just think it's too big to put into a &lt;code&gt; block.)<br/>&mdash;[[User:0x517A5D|0x517A5D]] 16:17, 29 November 2007 (EST)

Revision as of 21:17, 29 November 2007

Search Function

It may be helpful to make it clear the search function used in your version-independent code examples is a user-define function and is not associated with the STL search algorithm. I would also recommend posting the source files for search function, or commenting that they are available from the enable magma buildings zip file

--Masdus 22:08, 28 November 2007 (EST)

That's a good point about search(). I've just renamed it hexsearch() in my most recent (not yet released) source.
I had started to document the search patterns in a more generic way, but decided that (a) it took me too long to translate, and (b) few of the target audience would be able and willing to retranslate into their own search-like functions. So I just started cutting and pasting patterns out of my source.
As for posing the source to hexsearch(), I think that the target audience can track it down. (If we could host arbitrary files directly on this wiki, I would. I just think it's too big to put into a <code> block.)
0x517A5D 16:17, 29 November 2007 (EST)