TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: RONALD SCHLEGEL
from: TIM HUTZLER
date: 1997-05-03 16:49:00
subject: Re: Constants

-=>Quoting Ronald Schlegel to All <=-
RS>Anyone here know how to define a constant in PB32? What I am looking
RS>for is  the PowerBASIC equivalant of the QB45 command "CONST=".
%Const = [your_value]
Only numerals or expressions that can be evaluated to a number are
supported. String constants are simply declared, ie. s$="abc"
Constants are always global, but strings must be declared as such
using SHARED.
Emjoy...
--- Maximus/2 3.01
---------------
* Origin: Madman BBS * Chico, California * 916-893-8079 * (1:119/88)

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™.