08-23-2003, 05:16 AM
Quote:whitetiger:oracle:
little help
|
08-23-2003, 05:16 AM
Quote:whitetiger:oracle:
08-23-2003, 06:12 AM
Quote:....Let me see if I understand you. Perhaps you got *maps* from the user, like this: INPUT "Please enter the maps data ", MAPS$ Then you want to append it to "something " So, you now would do: REP$ = "something " + MAPS$ Does this now get you started? *****
08-23-2003, 11:50 AM
hahahah! you silly basic users! in perl it is so easy!!!
while (<$yourfile>) { #can be scalar or file if (s/needfind/replacewords/) { print "needfind was replaced with replacewords\n"; } } mooha!
08-23-2003, 11:55 AM
Quote:hahahah! you silly basic users! I wouldn't say this on the QBasicnews forum, you know
B 4 EVER
08-23-2003, 12:09 PM
#!/usr/bin/perl
08-23-2003, 01:05 PM
/home/xxx/dos/dosemu/freedos/qb45/qb.exe
08-23-2003, 06:07 PM
That's dillema, not delmia!
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
08-24-2003, 07:03 AM
Quote:hahahah! you silly basic users! in perl it is so easy!!!Looks like pretty messy, non-obvious code to me, whatever it is. *****
08-24-2003, 07:32 AM
it's a reagular expretion that matches needfind and replaces it with replacewords while $yourfile is true.
|
« Next Oldest | Next Newest »
|