Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-06-2014, 05:01 AM
teognost teognost is online now
Registered User
 
Join Date: 05-25-2004
Location: Prague,Czech Republic
Posts: 200
Maximum length of a macro value?

Hi
I would like to store the content of a file in a Visual Build macro.
Is there any limit of how many chars can be stored?
I am thinking if there is a possibility the macro would contain just a part of the file content in case the text is very long.
The code is (in RunScript step):

strSVNChangesTxtFileInitialBranch=Application.Expa ndMacros("%SVN_CHANGES_TXT_FILE_INITIALBRANCH%")
Set scisc = vbld_AllMacros()("SVN_CHANGES_INITIALBRANCH_SPECIF IC_CHANGES")


Set FSO = CreateObject("Scripting.FileSystemObject")
Set oFile = FSO.OpenTextFile(strSVNChangesTxtFileInitialBranch )
scisc.Value = oFile.ReadAll
oFile.Close
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 10:38 AM.


Copyright © 1999-2023 Kinook Software, Inc.