TIP: Click on subject to list as thread! ANSI
echo: visual_basic
to: Uncle Whiplash
from: haliphax
date: 2004-11-03 01:49:00
subject: Re: Newbie Question Continued

UW> If QNum = 1 Then
UW>    If Ans3.Value = True Then

ack!! use arrays of these objects instead of repeatedly calling similar code
to accomplish the same task. it would be just as easy to write one statement
that executes your code instead of repeating it.

for instance:

if ans[qnum].value = ans[qnum].answer then
...

see? just a suggestion. you may even consider writing a function to house
all of this code as well.

|07     --haliphax |15//|07rMRS
|02      cotm.dyndns.org
|07       vanguard mods

--- Mystic BBS v1.07.3 (Win32)
* Origin: constipation of the mind :: cotm.dyndns.org (1:2800/18)
SEEN-BY: 633/267 270 5030/786
@PATH: 2800/18 261/38 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.