Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.
This repository was archived by the owner on May 7, 2024. It is now read-only.

Using var with local ends up in Expression Error #73

@constantin-mike

Description

@constantin-mike

Hello,

I am working on a project with some old CF code. It actually is a library used as foundation for a bigger project. The library is code-versioned on svn where I am not supposed to change anything.
They have code like this: <cfset var LOCAL.foo = 'bar'>.
Horrible, yes i know.
Problem is, with ACF11 it's working, no problem at all. With OpenBD (which I absolutely love as dev environment) i get Expression Error.
I have searched the net, tried everything (tuned the OpenBD settings a little bit on variables & scopes) without any result. I understand that there's a conflict between the variables and local scopes, but somehow it's working on ACF11.

Please, please, please ... would there be any way to fix this without changing the old code from the library, in such a way to work with OpenBD? Today i've tried installing CF2016 dev + IIS & crap on a Win10 machine ... i was not able to make it work. With OpenBD everything is so simple.

Many thanks in advance.
Many thanks for this wonderful tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions