Random numbers and Endians
donJ <[email protected]> Thu, 7 Dec 2017 18:20:00 -0600
| Newsgroups | gmane.comp.lang.realbasic.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I have an app that uses the Xojo random class with seeds to create repeatable strings of pseudorandomly selected numbers. It worked fine until I made a 64 bit version. A file saved on a 32 system bit does not open correctly on a 64 bit system. A little research indicates that this is due to the Random class depending on Endianess. So I think the simplest way to fix this is to find (or write) a random method that does not depend on Endianess. Does one exist? Or can someone point me to some information about it? Thanks, Don To unsubscribe, email [email protected]