| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | [TSEPro] Re: Compiler Error |
From: "Sammy Mitchell"
@Date: Thu, 6 Feb 2003 21:40:51 -0500
@Sender: semware-owner{at}sawasdi.apana.org.au
That is really a pitiful error message that we issure there
- sorry about that!
As Bill said, in order to distinguish assignment from
comparison, SAL uses two different operators:
"=" for assignment, and "==" for comparison.
So:
a = 23 // assign 23 to a
if a == 23 // compare a with 23
I hope this makes sense?
--
Sammy Mitchell
----- Original Message -----
From: "Thomas Martin"
To:
Sent: Thursday, February 06, 2003 5:43 PM
Subject: [TSEPro] Compiler Error
Hi, Group:
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
Upon compiling, the error is:
SAL Compiler v3.00b
Copyright 1996-2001 SemWare Corp. All rights reserved worldwide.
File: D:\text\time\time.s
Compiling=95=95=95=95
Error 2333 (96,7) invalid operation
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?
Thanks in advance for any help.
Tom Martin=20
--
TSEPro mailing list
--
TSEPro mailing list
---
[sawasdi.apana.org.au] (3:800/846.13)
* Origin: apana>>>>>fidonetSEEN-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™.