Hi Bill,

The first line should be:

  put myVariable & myVariable2 & myVariable2 into baseKey

Strindex is an offset function, but I don't understand what's going on here. I would expect something like:

  put offset(1,baseKey,1) into myVariable

or maybe

  offet("1,1",baseKey) into myVariable

Sorry, if this is actual C++ then it doesn't make much sense to me. There may be errors in your code.

The md5 function:

put char 1 to 20 of md5Digest(toLower(str) & toLower(seed)) into caculatedMD5

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

Snapper Screen Recorder is now available for Windows! Download it at <http://snapper.economy-x-talk.com >.

On 8 mrt 2009, at 23:19, Bill Vlahos wrote:

I have some code from another language that I want to run in Rev. What is the Rev equivalent for these commands?

baseKey = strcat(myVariable, strcat(myVariable2,myVariable3))
myVariable = strindex(1,1 baseKey)
myVariable2 = strindex(2,2, baseKey)
myVariable3 = strindex(20,3, baseKey)


caculatedMD5 = strstr(
                               md5(
                                       strcat(
                                               lowercase(str),
                                               lowercase(seed)))
                               ,20)



I don't know if there should be a comma after the second 1 in the second example or not but that is the way I have it.

Thanks,
Bill Vlahos

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to