Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Increment Value within a Text File (https://www.kinook.com/Forum/showthread.php?t=1505)

remmie 01-31-2006 11:12 AM

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.

kinook 01-31-2006 05:26 PM

1 Attachment(s)
Attached is one way (v6 project file).

remmie 02-01-2006 10:32 AM

Thank you, for providing such fast support.

That worked perfectly.


All times are GMT -5. The time now is 09:40 AM.


Copyright © 1999-2023 Kinook Software, Inc.