Author Topic: Using crt.bi for opening files  (Read 8632 times)

0 Members and 2 Guests are viewing this topic.

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Using crt.bi for opening files
« Reply #20 on: April 06, 2007 »
One really ugly way to do it is
Code: [Select]
printf("hello"+Chr$(13)+Chr$(10));

Jim
Challenge Trophies Won:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: Using crt.bi for opening files
« Reply #21 on: April 06, 2007 »
its strange cause i just grabbed the debug program you linked me too and the \n is getting printed in the debug window also. im having to scroll handreds of lines to see the outs.
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Using crt.bi for opening files
« Reply #22 on: April 06, 2007 »
Not strange.  BASIC doesn't understand the special C characters like \n. 

Jim
Challenge Trophies Won: