with construction in cf script

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

  1. #1

    Default with construction in cf script

    Hello!

    is there "with" construction in cf script?
    whet is the synthax? i get an with:

    with (lang){
    ss = 123;
    }

    is there cfscript reference?


    ser_g Guest

  2. Similar Questions and Discussions

    1. Name wanted for module in construction
      Hi, I'm writing a module designed to work along with DBI to enable database-independent SQL generation. I've seen DBIx::SQLEngine and...
    2. Coldfusion MX7 Web Application Construction Kit!
      Support Staff, Coldfusion Gurus, Ben Forta, Leon Chalnick, Angela Buraglia, or Raymond Camden: I installed Coldfusion Developer's Edition while I...
    3. Forms construction - Mac OS X
      Am I missing something or is the whole suite of Form construction tools (like Adobe Designer) mia in Acrobat 7.0 Professional for Mac OS X? If I am...
    4. Best way to approach object construction errors?
      I've created a class called university, it has a constructor which can accept an id. If the id is sent during construction the constructor will...
    5. New website under construction.
      Hi All: I am working on a new website and quite frankly am delighted with how it is turning out. I'm using a pc with DWMX Studio and playing...
  3. #2

    Default Re: with construction in cf script

    > is there "with" construction in cf script?

    No.
    --

    Adam
    Adam Cameron Guest

  4. #3

    Default Re: with construction in cf script

    :-( that's bad..

    Is there any other way to put some variables into another one?

    ie

    set:

    var1 = 1;
    var2 = 2;
    var3 = 3;

    and then put them into some structure.

    instead of

    structure = structNew();

    structure.var1 = 1;
    structure.var2 = 2;
    structure.var3 = 3;


    I want to make a language file (component) with the minimum code rewriting...



    ser_g Guest

  5. #4

    Default Re: with construction in cf script

    by "language file" do you mean to internationalize (i18n) your app? if so you might try [url]http://www.sustainablegis.com/unicode/resourceBundle/javaRB.cfm[/url].

    PaulH Guest

  6. #5

    Default Re: with construction in cf script

    Thank you, Paul.
    Thans what I was trying to create!

    ser_g Guest

  7. #6

    Default Re: with construction in cf script

    if you're going to be creating large or complex rb files then you'll also need [url]http://www-306.ibm.com/software/globalization/icu/rbmanager.jsp[/url]. works great and is free.
    PaulH Guest

  8. #7

    Default Re: with construction in cf script

    And thank you once again I jast was typing the message on where to get it since it moved from [url]http://www.ibm.com/link/oss.software.ibm.com/redirect.shtml/icu4j/demo_tools/RBManager.html[/url]

    ;-)
    ser_g 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