What would this be in Rev?
m.schonewille at economy-x-talk.com
Sun Mar 8 17:42:58 CDT 2009
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
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
Economy-x-Talk Consulting and Software Engineering
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(
> 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.
> Bill Vlahos
More information about the use-livecode