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 Pascal Programming Lessons  <--  <--- Return to Home Page
   Networked Database  Pascal Programming Lessons   [14 / 36] RSS
 From   To   Subject   Date/Time 
Message   mark lewis    Joseph Larsen   FPC Oneliners.   June 12, 2016
 12:04 PM *  

12 Jun 16 07:42, you wrote to me:

 ml>> i've gone back to your original post where i asked you if you were stil

 JL> Ok. I figured it out. You were right in creating that custom printf
 JL> function.

he, i really didn't have much choice... it was either write some simple routine
 or include common2.pas and whatever else it wanted ;)

 JL> The problem was with the Impulse version of the printf function.

the original printf actually uses showscr which does a bunch of translation
stuff of the files' contents... looks like it does some sort of MCI code
stuff... but there's a number of other routines being called from showscr,
too... prompt(), sprompt(), setc(), cstr(), cstrl(), lpromptc(), wkey() and a
few others... any one of those may have an errant read in them... that's one of
 the reasons why i was saying to simplify everything and make it a stand alone
program... generally the bugs and logic flow problems will be easily seen...

 JL> I replaced all instances of printf('filename'); to shell('/usr/bin/cat
 JL> filename'); And it appears to be working.

it will locally but likely not remotely as well as losing the MCI decoding and
such...

 JL> I can't believe I didn't think of this sooner. So, thanks, man, with
 JL> your help. It's grately appreciated.

sometimes it takes a little bit for the gears to get switched and a new or
different way of looking at things takes place... you're welcome and i'm glad
that i was finally able to find the time to offer some assistance :)

)\/(ark

Always Mount a Scratch Monkey

... I'm so poor I can't even pay attention.
---
 * Origin:  (1:3634/12.73)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to Pascal Programming Lessons  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0865 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.0.140505

Warning: Unknown: open(c:\Sessions\sess_lv67p2jobp9rareuq3ffv2k2h0, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0 PHP Warning: session_start(): open(c:\Sessions\sess_lv67p2jobp9rareuq3ffv2k2h0, O_RDWR) failed: No such file or directory (2) in D:\wc5\http\public\VADV\include\common.inc.php on line 45 PHP Warning: Unknown: open(c:\Sessions\sess_lv67p2jobp9rareuq3ffv2k2h0, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0