Source language: Translate to:

Plugin to StrParse

Questions about NeoBook PlugIns

Moderator: Neosoft Support

Postby cp4w » Fri Mar 09, 2012 11:48 am

I remember that there was a plug-in to process INI files and create variables from them.

I think that HPW had something like that.

If the file can be converted into something like an INI file, would this be an idea for it to be processed quicker?
cp4w
 
Posts: 533
Joined: Sun Apr 03, 2005 4:37 pm
Location: Great Neck, NY

Postby cp4w » Fri Mar 09, 2012 12:22 pm

What about doing a filetovar and a strparse the var with [#13][#10] ?

On my computer it took 7 seconds.
cp4w
 
Posts: 533
Joined: Sun Apr 03, 2005 4:37 pm
Location: Great Neck, NY

Postby Alex » Fri Mar 09, 2012 12:24 pm

Hi HPW,

Thanks for the plugin.

For hpwFileToVar, it is possible to load more files to divide the task of working? Because, if I do:

Code: Select all
hpwFileToVar "C:\TEXT1" "TEXT"
hpwFileToVar "C:\TEXT2" "TEXT"


then it replaces the variables [TEXT1], [TEXT2],... it is possible to continue loading without replacing?

Thanks


Alex
Last edited by Alex on Fri Mar 09, 2012 1:03 pm, edited 1 time in total.
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am

Postby Wrangler » Fri Mar 09, 2012 12:26 pm

Code:
hpwFileToVar "C:\TEXT1" "TEXT"
hpwFileToVar "C:\TEXT2" "TEXT"


then it replaces the variables [TEXT1], [TEXT2],... it is possible to continue loading without replacing?


Try:

hpwFileToVar "C:\TEXT1" "TEXT"
hpwFileToVar "C:\TEXT2" "TEXTx"

Second text file variables will be: [textx1] [textx2] .......
Wrangler
--------------
"You never know about a woman. Whether she'll laugh, cry or go for a gun." - Louis L'Amour

Windows 7 Ultimate SP1 64bit
16GB Ram
Asus GTX 950 OC Strix
Software made with NeoBook
http://highdesertsoftware.com
User avatar
Wrangler
 
Posts: 1505
Joined: Thu Mar 31, 2005 11:40 pm
Location: USA

Postby Alex » Fri Mar 09, 2012 1:00 pm

Hi Wrangler,

Thanks for the answer, but it is not what I am searching for, I want that it continues to count.

I load texts in variables [TEXT1], [TEXT2]... to [TEXT500], now I load the second file but I want that continue [TEXT501], [TEXT502]... it is possible to to?

Thanks


Alex
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am

Postby HPW » Fri Mar 09, 2012 1:07 pm

Hello,

That would need another Param.

hpwFileToVar "C:\TEXT1" "TEXT" "Startvalue"
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby Alex » Fri Mar 09, 2012 1:21 pm

Hi Hans,

Yes, this will be interesting I think.

Thanks


Alex
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am

Postby HPW » Fri Mar 09, 2012 2:21 pm

Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby Alex » Tue Mar 13, 2012 1:51 am

Hi,

Thank you very much.

To make my application more faster, I will make it more small.

I think this is why it takes to much time to load.

Thanks


Alex
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am

Previous

Return to PlugIn Discussions

Who is online

Users browsing this forum: No registered users and 2 guests