Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by mathmjr

  1. mathmjr

    Does exist something like a structurearray?

    When I submit I keep losing the [index] ([ i] generates italics!) <cfset MyStruct=ArrayNew(1)> <cfloop index=&quot;index&quot; from=&quot;1&quot; to=&quot;LastNum&quot;> <cfset MyStruct[index]=StructNew()> - define the structure <cfset MyStruct[index].key1=&quot;First Key&quot;> <cfset...
  2. mathmjr

    Does exist something like a structurearray?

    In reviewing the code, I realize I forgot to set up the array part... this is what it should be: <cfset MyStruct=ArrayNew(1)> <cfloop index=&quot;i&quot; from=&quot;1&quot; to=&quot;LastNum&quot;> <cfset MyStruct[i]=StructNew()> - define the structure <cfset MyStruct[i].key1=&quot;First...
  3. mathmjr

    Does exist something like a structurearray?

    Yes, you may in a sense... First define an array of dimension 1, then define a structure and populate it within a loop: <cfset MyStruct=ArrayNew(1)> <cfloop index=&quot;i&quot; from=&quot;1&quot; to=&quot;LastNum&quot;> <cfset MyStruct[i]=StructNew()> - define the structure <cfset...

Part and Inventory Search

Back
Top