TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ALL
from: PETER.WALLER
date: 1998-01-24 10:29:00
subject: Sub`s Or defining Procedu

From: "Peter.waller" 
Subject: Sub's Or defining Procedures
 
Hallo There, (If This Question has been asked before DONT BLAME ME BECAUSE
I am 11 Years Old!!!)
Erm, I Have been Trying To Define a procedure that will detect a letter and
change it To the opposite letter.
I would like to call it like this:
 
 
a$=LEFT(b$,1)
run proc changeletter a$
 
PROC changeletter
if b$ = "a" then c$ = c$+"z"
if b$ = "b" then c$ = c$+"y"
etc. etc.
END proc
 
What is the Problem,
 
Please explain
 
Thanx
Pete
 
--
Please remove NS from reply address if you
wish to reply
in other words reply to peter.waller@btinternet.com
 
*** QwkNews (tm) v2.1
 * [TN11.1] Internet Newsgroup: alt.lang.powerbasic
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/561)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.