New topic: 

Need VB.Net equallent code for Real Basic - Urgent

<http://forums.realsoftware.com/viewtopic.php?t=28646>

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       dakannan           Post subject: Need VB.Net equallent code for 
Real Basic - UrgentPosted: Sun Jun 21, 2009 12:54 am                        
Joined: Mon Jun 15, 2009 8:58 am
Posts: 8              I am trying to convert the below vb.net code into 
REALBasic. It would be great if you give the equivalent code in Realbasic.

'For an example, let name = "1143Math8-12"

Dim count As Int16
Dim number As Int64
Do Until count = name.Length
number += Char.ConvertToUtf32(name, count) * 516517
count += 1
Loop
Dim code As String
count = 0
code = ""
Do Until count = 4
code += Char.ConvertFromUtf32(65 + Val(number.ToString.Chars(count)))
count += 1
Loop
Return code

Expecting early reply from you. Its very very urgent. 
Thanks in advance.   
                            Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to