Help with 'random routine
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ã