Array /Function

Results 1 to 5 of 5

Thread: Array /Function

  1. #1
    Eric Kowalewski Guest

    Default Array /Function

    Can someone write me a quick stub of a function that returns an array. I just can&#039;t get it to work.<BR><BR> Thanks<BR> Eric

  2. #2
    ? Guest

    Default Be more specific... <eop>


  3. #3
    Join Date
    Dec 1969

    Default RE: Array /Function

    What I gave you earlier didn&#039;t work?<BR><BR>Try <BR><BR>myfunction = myArray<BR><BR>&#060;OR&#062;<BR><BR>myfunction = myArray()<BR><BR><BR>can&#039;t remember whether or not to include the parens... try both and see what you get.

  4. #4
    Eric Kowalewski Guest

    Default RE: Be more specific... <eop>

    Make this work<BR><BR>&#060;%<BR>Function ray()<BR> Dim temp(4)<BR> temp(0)="E"<BR> temp(1)="R"<BR> temp(2)="I"<BR> temp(3)="C"<BR> <BR> ray=temp<BR>End Function<BR><BR>response.write ray<BR>%&#062;

  5. #5
    Join Date
    Dec 1969

    Default You were told yesterday...

    You can NOT do that! You can NOT ask to do Response.Write of an array!<BR><BR>Period. There is *NOTHING* wrong with that function. It is just the Response.Write that will *not* work.<BR><BR>

Posting Permissions

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