Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Stringtable as a function storage  (Read 4942 times)

0 Members and 1 Guest are viewing this topic.

Offline SoldierEPilot

  • Members
  • *
Stringtable as a function storage
« on: 23 Jan 2015, 19:57:12 »
Hello word!

One of my main scripting projects structure was inspired by MCAR_engine.pbo.
It was very original idea - to store sqf code in that place. That's why I stole it)

Today I slightly changed the Notepad++ scripts I used for DASH_Library 2.0 development,
so these versions can be used in MCAR project revision (if someone want it)
or with creating MCAR-like scripting solutions.

Installation notes
http://www.ofpec.com/forum/index.php/topic,36503.msg250013.html#new

Usage: select 1 or several lines in stringtable and run ;
Plugins - Automation Scripts - MCAR_ToSQF
It will create one or more function listings.

To add/replace 1 function in stringtable:
Select one function (with comment-header, if it exists)

comment {dummy fn};
dummy={
_this
};

Plugins - Automation Scripts - MCAR_ToCSV
Function code will be prepared to paste to CSV,
it will looks like
dummy, "_this",dummy fn