Assigning to a variable

Results 1 to 2 of 2

Thread: Assigning to a variable

  1. #1
    Join Date
    Dec 1969

    Default Assigning to a variable

    I need to assign two strings to a variable, one of which I obtain from a form, and the other will be a set value. The string obtained from the form will be a file name such as xxx.gif and the set string will be "". How does the assignment look? Something like this?<BR>Set fixed = ("")<BR>Set imagex = (fixed, Request.Form("image"))<BR>

  2. #2
    Join Date
    Dec 1969

    Default Like this...Plus you need to buy a book...

    &nbsp;<BR> You only use the Set keyword when assigning objects.<BR> otherwise, just use the variable.<BR> <BR> fixed = ""<BR> imagex = fixed & request("image")

Posting Permissions

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