TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ROWAN_CROWE
from: JAMES GOLDBLOOM
date: 1996-03-17 09:40:00
subject: Re: STRUCTURES FROM TP TO PB

 ro-> ExtraSpace          as string * 92
 ro-> presume it's spare, and is intended for future expansion. 92 is
 ro-> probably an arbitrary number which pads that particular structure out
 ro-> to a convenient length.
Thanks, Rowan...
I also wanted to know how to deal with...
Const
{$IFDEF GOLDBASE}
I took the above to mean I'd first set up a variable, GOLDBASE (or whatever
I wanted, but converting it over, I'd use the same anyway) and if it's
value is 1 (true, a non-zero value) it would compile the next statements,
and if zero it would compile in the upcoming statements between the $IFELSE
and the $ENDIF.
Converted, that would be (starting with the beginning of the code):
--------------------------------------------------------------------
$DYNAMIC
DEFINT A-Z
GOLDBASE=1
$IF GOLDBASE
 [staments related to goldbase here]
 $ELSE
 [statements not related to goldbase here]
$ENDIF
-------------------------------------------------------------------
Now the above code does NOT work, because PB expects a constant to be
used in place of the word GOLDBASE, and even if I set it to a value,
it expects a number, such as "1" or higher, or of course 0 for the $ELSE.
I am generally confused why I can't use GOLDBASE, with a predefined
value.  I guess I am saying I don't know why this does not work.
Help!
;-) 
-James (SysOp/AD Message System)
--- QuickBBS 2.80 GoldBase (Zeta-1)
---------------
* Origin: AD Message BBS/10th Year Online! (703)241-1826 (1:109/611@FIDONET)

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