Hi All,
People who are new to T24 are often misled by similarly looking @FM
and FM. The latter is declared at I_EQUATE (actually EQUATEd), insert
that Temenos says should be included to every routine (with I_COMMON
preceding it). In fact, it's not necessary in a number of cases. If
you need @FM, @VM, @SM only it's no need to include I_COMMON and
I_EQUATE (this doesn't save much typing anyway).

Just decide for yourself and don't forget that if you later start
using T24-related variables (like TODAY) - then include them.

VK

On Oct 22, 2:19 am, pat <[email protected]> wrote:
> Err....... No
>
> @FM, @AM, @VM etc are 'Constant' strings ( 'directly' available at
> runtime )
>
> whereas :
>
> EQUATE FM TO CHAR(254)
>
> replaces the 'FM' with 'CHAR(254)' in your program
>
> ie;
>
> The following line of Basic code, under the hood :
>
>    x = y:FM:z
>
> would become :
>
>  x = y:CHAR(254):z
>
> Simple test :
>
> 001 EQUATE FM TO CHAR(254)
> 002 FM = 1
> 003 @FM = 1
>
> BASIC . test.b
>
> "test.b", 2 (offset 1)  near RESERVED WORD "CHAR":
> CHAR(254) = 1
>  ^
>         parse error
>
> 1 error was found
>
> The problem on line 3 is ( cryptically ) reported as :
>
>   Unknown @ system constant @FM specified
>
> because the 'system constants' should not appear on the Left hand side
> of an assignment
>
> On Oct 20, 9:11 pm, Ian Perkins <[email protected]> wrote:
>
>
>
>
>
>
>
> > I'm sure I read somewhere that, under the hood, @FM et al are actually
> > function calls? So, EQUATE FM TO CHAR(254) may gain a few ms in some
> > situations...

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to