<cfset variables.lt = "<">
<cfoutput>#variables.lt#</cfoutput>
But I don't think it's a good idea to have a variable named "lt"
----- Original Message -----
From: Butch Zaccheo
To: CF-Talk
Sent: Monday, June 07, 2004 4:35 PM
Subject: Re: Can anyone tell me what this error means?
Anyone else have any ideas on this?
BZaccheo
On 6/7/04 10:24 AM, "Butch Zaccheo" <[EMAIL PROTECTED]> wrote:
> Basically this variable is being written so I can create a right bracket for
> TAGS. This variable is used to create tags for a preference file. Does blue
> dragon have a problem with setting the < character to a variable? Cold
> Fusion MX doesn�t seem to have a problem with the same variable setting...
>
> BZaccheo
>
> On 6/7/04 10:02 AM, "Scott Brady" <[EMAIL PROTECTED]> wrote:
>
>> > Original Message:
>>>> >> > From: Butch Zaccheo
>> >
>>>> >> > <cfset variable.lt = �<�>
>>>> >> >
>>>> >> > I get this error:
>>>> >> >
>>>> >> > Detail: Problem occurred while parsing variables.lt = �<�
>> >
>> > It's trying to evaluate �<� and it can't. If you want to set "variable.lt"
>> to
>> > be the string "�<�" then you need the quotes (<cfset variable.lt = "�<�">
>> >
>> > (Note, "variable" isn't a scope within CF. I think you want "variables.lt")
>> >
>> > If you are trying to set variable.lt to actually evaluate �<� and to be
>> > "true" then you could do:
>> >
>> > <cfset variables.lt = Evaluate("� LT �")>
>> >
>> > It kind of depends on what you're trying to do with the line:
>> > <cfset variable.lt = �<�>
>> >
>> > ---------------------------
>> > Scott Brady
>> > http://www.scottbrady.net/
>> >
>> >
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

