Ticket #187 ( Closed )

Short Description Compile error on TEIF in TELOOP
Entered By: Michael - Charleston When: 1998-10-21 11:30:06 Build: 1.03.07A
Categories Type: Question   Department: Product   Category: SurferScript
I got the following compile error when I tried to use a TELOOP based on the example in the documentation:

Status for Programming Action:

Recompiling C:\Screensurfer\HostServer\Templates With Trace (compiler version 1.03.26d)...

Compiler Messages for C:\Screensurfer\HostServer\Templates\CourtJudgementsResults.stml:

COMP770707Parsing expression in section courtjudgementsresults.judgmentsinquirycaseselectionExpression cannot have two values without an operation between them!

Compile Finished at 11:23:45 on 10/21/98...Errors Found.

For your reference, here's the TELOOP from the temp

Append By: WindSurfer  When: 1998-10-21 11:40:57  New Status: Pending Customer
Comment This is a stupid and annoying trait of the compiler based on our decision to support traditional comparison expressions. The TEIF and TEELIF tags REQUIRE that your end the tag with an immediate CRLF following the ">" character. This enables the top-level parser to properly "cut" the expression to pass to the lower-level expression parser.

Your TEIF has a blank following the ">", before the CRLF...just do an "end" in your editor and whack the blank and you should be okay.

A giveaway in the future when you see this is that rather than just showing you the TEIF, it showed you the other tags following it...that's because the top-level parser didn't properly identify the end of the TEIF and thought that you just had a "greater-than" symbol...

Append By: Michael - Charleston  When: 1998-10-21 14:04:55  New Status: Closed
Comment Fixed! Thanks . . .