1 Reply Latest reply on Nov 24, 2006 5:12 AM by James Newton, ACP

    Help with lingo.ini

    Level 7
      Dear all:

      I need to set some parameters in a Lingo.ini, these parameters can be the
      following:

      gport="com1"
      gbaud=9600
      gparity=0
      etc.

      Can you tell me how to do this in the Lingo.ini, so I can use these
      parameters within the application?
      thank you very much


        • 1. Re: Help with lingo.ini
          James Newton, ACP Level 3
          Here's the text of your lingo.ini file:

          global gPort, gBaud, gParity -- etc

          on startUp()
          gPort = "com1"
          gBaud = 9600
          gParity = 0
          end startUp

          If you save this on Macintosh, be sure that you are using either Windows (DOS) or Macintosh end of line characters. If your file uses numToChar(10), the Unix end of line character, the lingo.ini file will not function.