Quantcast
Channel: Silk Performer
Viewing all articles
Browse latest Browse all 4084

Wiki Page: Why do I receive a Compile error SYN 2: identifier expected message?

$
0
0
A syntax error (error type SYN) occurs if the syntax of a test script does not agree with the syntax of Benchmark Description Language. This is a syntax error telling us that an identifier is expected. A syntax error (error type SYN) occurs if the syntax of a test script does not agree with the syntax of Benchmark Description Language. An identifier is used to identify random variables, named constants, users, transactions, and functions. It is the variable name. If, for example, the error is in the Global variable section it would be useful to check the way the variables have been defined. The following code would generate this error is as follows var sFormSid1, : string (100); Note the "," after the variable name. This tells the compiler to expect another variable (i.e. an identifier). So removing the "," or adding another variable, will allow the script to compile e.g. var sFormSid1,sFormSid2 : string (100);

Viewing all articles
Browse latest Browse all 4084

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>