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
Zengarden
Wed Feb 11 17:39:27 2026
from
Bowling Green, Ky
via
Telnet
Ilop
Sat Jan 31 03:58:07 2026
from
Canada
via
Telnet
A L L E O N
Fri Jan 16 23:33:08 2026
from
Loveland, Colorado
via
Telnet
Mr Chats
Sat Dec 27 20:46:15 2025
from
Florence, Alabama
via
Telnet