Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-13-2009, 01:47 PM
edsachs edsachs is online now
Registered User
 
Join Date: 12-03-2008
Location: Chicago
Posts: 2
Question Parsing value from LASTSTEP_OUTPUT

I'm not very adept at Visual Basic, so I'm wondering if someone can point me to a sample script.

I'm running a command, and I'd like to parse out of the command's output (%LASTSTEP_OUTPUT%) a string of the form "PRODnnnnnnnn", where the "n"s represent digits, and then assign this string to a macro. Anybody have a sample that does something like this?
Reply With Quote
  #2  
Old 03-13-2009, 10:34 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
See attached sample.
Attached Files
File Type: bld parseoutput.bld (978 Bytes, 1941 views)
Reply With Quote
  #3  
Old 03-23-2009, 01:07 PM
edsachs edsachs is online now
Registered User
 
Join Date: 12-03-2008
Location: Chicago
Posts: 2
Thank you.
Reply With Quote
  #4  
Old 10-14-2009, 06:10 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
The Read File action in v7 can be used for this. See attached sample.
Attached Files
File Type: bld parseoutput2.bld (906 Bytes, 1940 views)
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 11:45 PM.


Copyright © 1999-2023 Kinook Software, Inc.