Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 17th, 2007, 4:25 PM   #1
boatn19
Newbie
 
Join Date: May 2005
Location: Charleston, SC
Posts: 11
Rep Power: 0 boatn19 is on a distinguished road
change vowels to X

I am stuck trying to change a vowel letter to "x"

if vowellabel.substring(indexnum,1) = vowel then
mid(me.vowel.text) = vowel
replaceX = true
end if
boatn19 is offline   Reply With Quote
Old Jun 17th, 2007, 4:31 PM   #2
andro
Professional Programmer
 
Join Date: Oct 2005
Location: California
Posts: 290
Rep Power: 3 andro is on a distinguished road
Send a message via AIM to andro
Woops, this is VB forum.
andro is offline   Reply With Quote
Old Jun 17th, 2007, 4:43 PM   #3
boatn19
Newbie
 
Join Date: May 2005
Location: Charleston, SC
Posts: 11
Rep Power: 0 boatn19 is on a distinguished road
is this not where I am to post this, it is a vb 2005 question?
boatn19 is offline   Reply With Quote
Old Jun 17th, 2007, 5:45 PM   #4
andro
Professional Programmer
 
Join Date: Oct 2005
Location: California
Posts: 290
Rep Power: 3 andro is on a distinguished road
Send a message via AIM to andro
Sorry, I made an edit there.
andro is offline   Reply With Quote
Old Jun 17th, 2007, 5:49 PM   #5
kruptof
Professional Programmer
 
kruptof's Avatar
 
Join Date: May 2006
Location: UK - London
Posts: 327
Rep Power: 3 kruptof is on a distinguished road
I think you meant to use a double equals sign for conditions
if vowellabel.substring(indexnum,1) == vowel then
mid(me.vowel.text) = vowel
replaceX = true
end if
__________________
Quote:
When I was young it seemed that life was so wonderful,a miracle, oh it was beautiful, magical.
Now watch what you say or they'll be calling you a radical,a liberal, oh fanatical, criminal. Oh won't you sign up your name,we'd like to feel you're acceptable, respectable, oh presentable, a vegetable
kruptof is offline   Reply With Quote
Old Jun 17th, 2007, 9:54 PM   #6
King
Professional Programmer
 
King's Avatar
 
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 364
Rep Power: 0 King is an unknown quantity at this point
kruptof, I am pretty sure in VB that you do not use the double equal for conditional statements, just a single.
__________________
I am Addicted to Linux!
King is offline   Reply With Quote
Old Jun 17th, 2007, 10:37 PM   #7
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,453
Rep Power: 7 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Is this a cross post or an effort to swamp us with VB questions? See your other thread.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Link Order matthewvb PHP 1 Dec 20th, 2006 12:13 AM
How To Change The Style/Class Of An Object? Sane JavaScript and Client-Side Browser Scripting 16 May 26th, 2006 10:15 AM
Cant Change Font Properties, Urgent brokenhope Visual Basic .NET 11 Sep 20th, 2005 3:42 PM
change the empty function from the old format to the new format powah Sed and Awk 0 Jun 23rd, 2005 11:10 AM
How can I change .asp page of frame after every 5-10 minutes ? sham ASP 1 May 1st, 2005 8:25 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:33 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC