What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » [split] VBScript & pig latin

[split] VBScript & pig latin
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: VBScript & coding tips
There are special cases like words starting with "q", IIRC.

Your code did help in understanding how pig latin works (provided you understand Python code ofcourse), but it doesn't help in actually coding it in VBScript.

The pyhton code isn't much help in the sense that python code is different than vbscript, especially when it comes down to manipulating strings (eg: individual letters of words). Python is closer to J(ava)Script. Manipulating strings in VBScript is done in a completely different way than in Python. The method you showed simply doesn't exist in VBScript.

(eg: You could also have shown an ASM routine doing pig lating. It would have been similar as it shows how pig latin works, but doesn't show you how in VBScript.)

Anyways, I wouldn't personaly use regular expressions for doing Pig Latin as the regular expression engine in VBScript is a bit wobbly when it comes down to accented letters and stuff (which you should take into account IMHO. Or at least convert them to non-accented letters first for true pig latin). If all you're using are letters A-Za-z0-9 then it should be fine though.

;)
.-= A 'frrrrrrrituurrr' for Wacky =-.
10-04-2008 10:11 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
RE: VBScript & coding tips - by theimmortal_7 on 10-04-2008 at 03:11 AM
RE: VBScript & coding tips - by Jarrod on 10-04-2008 at 05:14 AM
RE: VBScript & coding tips - by CookieRevised on 10-04-2008 at 09:43 AM
RE: VBScript & coding tips - by Jarrod on 10-04-2008 at 09:55 AM
RE: VBScript & coding tips - by CookieRevised on 10-04-2008 at 10:11 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On