Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default cfset question

    I am setting a variable correctly with cfscript and I'm trying to do the
    equalivant with cfset. Here's how I set it in cfscript: oElement =
    oSegment.DataElement(1); oElement.Value = '00'; How do I do this with cfsets ?
    It's being used to set variables for a COM component.

    jhonken Guest

  2. Similar Questions and Discussions

    1. cfset Help!
      Hello everyone, I am just starting to learn ColdFusion, and I am learning how to use the <cfset> tag. I tried hard, but I can't figure out what's...
    2. Evaluate within CFSET
      I'm looping through a list of sites. I've written queries to count the number of live and pending articles in tables that begin with the site's...
    3. cfset
      Hi guys, I was just wondering if I use <cfset session.something=0> and I want to later set session.something to equal something else is it ok to...
    4. CFSET and Quotation Marks
      I have a page that generates an html attachment and sends it in email to an admin. The page is an asp page. my problem is that the asp page code...
    5. <cfset> user info.
      Hey guys, i am trying to create a website that has dynamic text in it. For example "Welcome (username here)". I have started using the <cfset>'s...
  3. #2

    Default CFset question

    Hi guys i was just wonderng if i want to set a session variable to equal a
    number which of the following would i use:

    <cfset session.number = 1>
    <cfset session.number = '1'>
    <cfset session.number = "1">

    Thanks in advance.

    theDude28 Guest

  4. #3

    Default Re: CFset question

    First one!
    Stressed_Simon Guest

  5. #4

    Default Re: CFset question

    Thanks for that I thought it was the first one as well but when I used it the numbers turned red so i thought this ment there was a problem.
    theDude28 Guest

  6. #5

    Default Re: CFset question

    That is just dreamweaver showing you that it is a number.
    Stressed_Simon Guest

  7. #6

    Default Re: CFset question

    Thanks again!
    theDude28 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139