Now I know it sounds silly to be asking this, but is there random number capabilities in Baja? I've been reading over the docs and I haven't seen anything yet (or perhaps I skipped over it). I'd like to do it in Baja so i would be backwards-compatible with older versions of Sync, but if it can (or should be) written in JS, then I'll just wait until I can devote a little mo time to learning JS.
Sure, just use the RANDOM function.
Now I know it sounds silly to be asking this, but is there random number capabilities in Baja? I've been reading over the docs and I haven't seen anything yet (or perhaps I skipped over it). I'd like to do it in Baja so i would be backwards-compatible with older versions of Sync, but if it can (or should be) written in JS, then I'll just wait until I can devote a little mo time to learning JS.
Ideas or suggestions?
I would recommend writing it in JS instead. Both languages have a random num generation function in Synchronet.
| Sysop: | Eric Oulashin |
|---|---|
| Location: | Beaverton, Oregon, USA |
| Users: | 103 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 03:04:25 |
| Calls: | 7,055 |
| Calls today: | 8 |
| Files: | 8,560 |
| D/L today: |
2,453 files (983M bytes) |
| Messages: | 373,266 |
| Posted today: | 4 |