AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to Computer Support/Help/Discussion...  <--  <--- Return to Home Page
   Networked Database  Computer Support/Help/Discussion...   [118 / 1585] RSS
 From   To   Subject   Date/Time 
Message   Sean Dennis    All   Talking to yourself works   July 4, 2019
 12:51 PM *  

Hello All,

So, after posting that last messasge, I started talking to myself and I 
figured out the issue. Here's the code now (I added a few things):

{ -------------------------------------------------------------------
  PROCEDURE SRFColor (S : String; Centered : Boolean);
  Displays a text string in random colors
  ------------------------------------------------------------------- }
Procedure SRFColor(S : String; Centered : Boolean);
Var
  SLen : Byte Absolute S;
  N, TLen, X : Integer;
Begin
  Randomize;
  If Centered Then
    Begin
      TLen := 40 - (Length(S) Div 2);
      If Loc Then GotoXY(TLen, WhereY) Else fk_GotoXY(TLen, WhereY);
    End;
  For N := 1 To SLen Do
    Begin
      Repeat
        X := 0;
        X := Random(15);
      Until ( X >= 1);
      If Loc Then
        Begin
          TextColor(X);
          Write(S[N]);
        End
      Else
        Begin
          fk_Textforeground(X);
          fk_Write(S[N]);
        End;
    End;
  NL;
End;

Sometimes talking to yourself -does- indeed solve problems :D

Later,
Sean

... Eat prune yogurt for that "get up and go" feeling.
--- GoldED+/LNX 1.1.5-b20180707
 * Origin: Outpost BBS * Limestone, TN, USA (618:618/1)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to Computer Support/Help/Discussion...  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0122 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.1.220106