Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, November 25, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - Legacy Development
Forum to discuss SalesLogix legacy development including views, scripts, etc.. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Legacy Development | New ThreadView:  Search:  
 Author  Thread: New programmer needing some guidance
dave willis
Posts: 1
 
New programmer needing some guidanceYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Mar 11 4:25 PM
fiogf49gjkf0d

Need to write a script wit the following criteria using VBScript:


1. prompt user for a # of quiz scores to input, should create an array large enough to hold that # of scores


2. Set loop allowing user to enter approp. # of scores, scores to be entered as integers, each score should be placed in array


3. det. avg score (rounded to an int) for all data


4. det. # of scores are above the average


5. det. # of scores are below the average


6. det. # of scores are equal to average 


7. generate message box showing # of quiz scores, avg score, above avg score, below avg score and equal avg score.


Any help would be greatly appreciated!!!!!!!

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: New programmer needing some guidanceYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Mar 11 4:56 PM

You should be able to knock that up in about 20 mins !
Is this some form of test - as it seems fairly useless ?


Send me an email and I'll see what I can do (mike.spragg@empath-e.com) - but I think someone is pulling your leg! This is programming 101.


Regards
Mike


 


 

[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: New programmer needing some guidanceYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Mar 11 10:59 AM
fiogf49gjkf0d

This is all up on the microsoft site, search for MS vbScript Functions


DIM MyScores(1000)


DIM I


For I = 1 to 1000


MyScores(I) = 0


Next


....what programming languages do you know? Have you ever programmed? This would be a snap in FORTRAN, BASIC.....I'll bet you I could still do this in Pascal or ALGOL...

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/25/2024 2:39:37 AM