Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-31-2006, 10:12 AM
remmie remmie is online now
Registered User
 
Join Date: 01-31-2006
Posts: 2
Post Increment Value within a Text File

I would like to open the file, increment the values then close it.

Test.txt
Input:

Code:
/* 
Some Comment
*/

#define BUILDNUM      1111
#define VERSION "5.06.0.1111"
Expected Output:

Code:
/* 
Some Comment
*/

#define BUILDNUM      1112
#define VERSION "5.06.0.1112

Thanks alot, I have looked at many of the other examples but could not get them to work in this way.
Reply With Quote
  #2  
Old 01-31-2006, 04:26 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
Attached is one way (v6 project file).
Attached Files
File Type: bld incrver.bld (4.8 KB, 868 views)
Reply With Quote
  #3  
Old 02-01-2006, 09:32 AM
remmie remmie is online now
Registered User
 
Join Date: 01-31-2006
Posts: 2
Thank you, for providing such fast support.

That worked perfectly.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 07:19 PM.


Copyright © 1999-2023 Kinook Software, Inc.