ASP classic (ie: vb script)?

there are no "structs" per se. Do research on "collections" (slow as all getout to 
process) or create a class (see example below). 

CF pisses all over ASP when it comes to structs and arrays of structs - I know: I've 
come over from the "dark" side (but then again, vbscript is now ancient - 7 years old? 
possible older?).

if you use classes, put them in a seperate file and <@ import @> it at the top of the 
ASP page.

think classes as simple CFC thingies (yes, it can have methods too)

class theStruct
public fname
public lmusic
public timesVisited

end class
================================
set struct1 = new theStruct 

struct1.fname = "barry"
struct1.lmusic = "beattie"
struct1.timesVisited = 3



cheers
Barry Beattie
CF Web Developer
Alpha Business Systems
[EMAIL PROTECTED]
�
Ph: +61 07 3216 0999
�
Unit 1, 31 Thompson Street
Bowen Hills QLD 4006
www.alphabus.com.au
�
Virus Disclaimer: Please note that this email may contain computer-generated file(s) 
as an attachment.� Whereas we take every effort to protect our files from computer 
virus, we recommend that you check the file(s) with your own virus detection software 
prior to opening it.� If you would prefer to receive a hardcopy of the file please 
email or phone. Alpha Business Systems does not accept liability for the consequences 
of any computer viruses that may be transmitted with this email.
Confidentiality: This email and any attached files are intended solely for the 
addressee(s) and may contain confidential and privileged information. If you received 
this email in error, please advise us by return email or phone and disregard the 
contents and immediately delete it and destroy any copies



-----Original Message-----
From: Jamie Lawrence Jenner [mailto:[EMAIL PROTECTED] 
Sent: Friday, 11 June 2004 4:37 AM
To: CFAussie Mailing List
Subject: [cfaussie] structures in asp?

Hi all,

I have to do some work in ASP, struggle to say it, i cant seem to find how
to create structures using asp (vb.net) can it be done?

Also i have read that you are not able to loop over form objects like you
can in cf. would i have to create a 2d array or something?

Im only after some general answers here

cheers all

jamo

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to