Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Hebbe

  1. Hebbe

    Reading .txt files

    deleted
  2. Hebbe

    Pascal for XP

    Old Borland Pascal does not work very well with NT computers. Consider using a DOS based OS like MS-DOS or Windows 95 if you want to develop reliable Pascal applications. Also CPU speed above 1GHz may not work with RTE200 patches because they also are too old. Use older hardware.
  3. Hebbe

    metronome

    Remember that the Pascal delay function is not very accurate on new computers.
  4. Hebbe

    RS232 communication in Pascal

    I would like to send and receive data via the RS232 COM port on the computer. I know one can use the port array for simple tasks, but I've seen simple implementations of programming the UART-chip of the computer in DOS/Pascal environment. This code was posted at this forum about 2 years ago...
  5. Hebbe

    Linux internet server at home.

    I have 2 computers running windows 95 at home, but none of them is connected to the internet. I am planning using the win '95 computers as clients, and setting up a Linux server connected to the internet. Therefore I am asking if you have any advice or experience on how to set up such a...
  6. Hebbe

    Divide a variable up into it's characters?

    If the variable is a string, it's easy. Strings are arrays of char, you can access each char simply by adding a pointer: writeln(yourstring[1]); Warning: yourstring[0] holds the string length. Same as length(yourstring) If the variable is an integer etc. you can calculate each digit OR...
  7. Hebbe

    Networking

    I don't know much about Java, but the application I read about probably was a 'quick and dirty' server software. In a network the server drive letter (if necessary) should be assigned another one on the clients, else the network is not configured properly. Your program doesn't have to handle...
  8. Hebbe

    Networking

    Maybe it's better using a lock file (skip the name part for that sake), than not using anything! I see some discussions around, also 'real' programs like java script etc uses lock files to simulate the functionality. Here's some 'low level' info regarding Pascal/DOS records...
  9. Hebbe

    Networking

    Would this work (one database, another lock file)? Lock file present? If yes, access denied, END If not: 1.write lock file containing username. 2.Wait some time. 3.Read lock file. Your name? If not, access denied, END If your name: 1.Edit/write database file. 2.Close database. 3.Delete lock...
  10. Hebbe

    Networking

    I run one simple pascal program on a w98 client against a Novell server. I just changed the drive letter and path to the server as it appear in file-explorer. No problems.
  11. Hebbe

    Saving and reading data files

    Errors in other parts of the program can make strange behaviours, like a loop writing beyond an array size. Then one of the other variables may change randomly.
  12. Hebbe

    Saving and reading data files

    Try specifying a fixed length for the string parts: pword_rec = RECORD user,pass : string[64]; value : longint; END;
  13. Hebbe

    Screensaver and HDD spin down time in Mandrake.

    Shame on me, the screen part was easy: Configuration>KDE>PowerControl>DisplayPowerControl Configuration>GNOME>Screensaver I found the GUI screen saver (loading data) woke up the HDD that was previously put to sleep by the BIOS...
  14. Hebbe

    Screensaver and HDD spin down time in Mandrake.

    I am using Mandrake 9.1 and can't figure how to make changes to these settings. Is this supported by the OS or should I use the functions in the BIOS setup instead?
  15. Hebbe

    Argh! Strings, chars and integers!

    Sorry, replace this row: if error= false then texttonumbers:= out else texttonumbers:=''; I have not tested this example...

Part and Inventory Search

Back
Top