From Sysop@VERT/PERKUNAS to All on Mon Feb 12 17:26:00 2001
Not too much traffic here..
So I will ask for help. I'm trying to write "random string" routine,
something like rumors, but not exactly. I want random string to be
displayed in menu, everytime it redraws.
I do it this way: define strings like str STRING1, str STRING2, etc..
then i set STRING1="Blah, blah,...", set STRING2="Blah,.. ", etc..
Now i want them display in random order. How do i do this?
i tried something like:
random STRNUM 10
sprintf STRNAME "STRING%ld" STRNUM
print STRNAME <--i know this is wrong, but how do i print the
content of say, STRING2?
i also tried with command printfile_str (putting my strings
in .asc files in text directory), but couldn't acheive my task either.
I know these questions may sound stupid for some Baja-pro's, but
i hope some Baja guru finds time to help..
Nidas (just resumed my BBS, and learning Baja)
---
■ Synchronet ■ perkunas.thebbs.org * Kaunas, Lithuania
Who's Online
Recent Visitors
Godfather
Thu May 21 09:34:48 2026
from
Underground, Us
via
Telnet
Gullytaucher
Sun Feb 22 07:08:12 2026
from
Traunreut, Germany
via
Telnet
Gullytaucher
Sun Feb 22 06:46:12 2026
from
Traunreut, Germany
via
Telnet
Bishop
Sat Feb 14 20:00:36 2026
from
Philadelphia
via
Telnet