Uploaded image for project: 'Railo'
  1. Railo
  2. RAILO-2814

Allow the type of variables to be specified

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: 4.1.2.006
    • Fix Version/s: None
    • Labels:
      None

      Description

      It would be good to be able to do this:

      <cfset int myInt = 42>

      And have CF treat that as an int, thereafter. myInt can only take another int as a value, it can only be used for int-type operations, needs to be specifically cast to another type if need be.

      Sometimes it's great to be loosely typed. SOmetimes it's a real pain in the arse to be so flippant with data typing.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                adamcameroncf Adam Cameron
              • Votes:
                4 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: