Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compiling ver 1 to ver 4

Status
Not open for further replies.

jmackd1

Technical User
Aug 22, 2004
2
US
Hello,
i'm trying to convert ver 1 script to ver 4 script. after it ran through the converter I went to the compiler and it had 1 error which said "Line 658 no ENPPROC or ENDFUNC command". It clearly had an endproc command there. The converter really hacked up the program. Why is the compiler telling me that their is no ENDPROC command there when it is clearly there?

thank you....
 
Check to see if there is a matching endproc for each proc command. My assumption is that the converter is adding some functions and/or procedures to have version 4.x emulate how 1.x implemented some commands.

aspect@aspectscripting.com
 
Thank you for your reply..The was an ENDPROC missing, but not on the line the compiler was telling me. When I put the ENDPROC in, then tried recompiling, had alot of errors...Guess I will have to start from scratch...
 
If what you have is not a very complex script (i.e. something like a logon script with mostly waitfor and transmit statements), then you might try just compiling it as-is without running it through the converter. There are a few knowledgebase articles on the Symantec website that shows what some of the "old" commands in previous versions were replaced by, and I may have those or similar documents on my site as well.


aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top