TIP: Click on subject to list as thread! ANSI
echo: semware
to: All
from: Bill Stewart
date: 2003-02-07 10:04:52
subject: [TSEPro] Re: Compiler Error

From: Bill Stewart 
@Date: Thu, 6 Feb 2003 16:34:52 -0700
@Sender: semware-owner{at}sawasdi.apana.org.au



Thomas Martin  wrote:

> Well, I don't know how many years I've been a licensed user of=20 TSEPro.
> It's a wonderful editor which I use A LOT, but I've only probably= =20
> ever used about 3% of its capabilities.  Anyway, I'm just writing my
> VERY=20 FIRST macro today!!
> 
> It's been going quite well, but I've run into something that I don't=20
> understand.
> 
> I'm working in TSEPro 3.0c
> 
> The code in question is:
>
> Line 94    if logAddNewLine =3D 1
> Line 95      // AddLine(strMMDD + " " + strToTime +
"-???? ????")
> Line 96      AddLine()
> Line 97    endif
>
> I really want to use Line 95, but when the error occurred, I decided to
> try= =20 a simpler version.  However, I still have the error.
>
> So, what am I missing?  Why would "AddLine()" cause a problem?

I am getting odd characters (=20, =3D) in your message. But I think I know
what the trouble is.

SAL is confused because you are performing an assignment (=) on line 94,
not a comparison (==).

You need to use:

if logAddNewLine == 1
--
TSEPro mailing list



---
[sawasdi.apana.org.au] (3:800/846.13)
* Origin: apana>>>>>fidonet
SEEN-BY: 633/267 270
@PATH: 800/846 1 640/954 774/605 123/500 106/1 379/1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.