Results 1 to 10 of 87

Thread: Space Shooter Game Editor

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #32
    I tend to put:
    Code:
    DecimalSeparator:='.';
    Then it's dot always and on everything, ignoring whatever language settings are.

    I mean, wouldn't you just hate it if this application would on some computers write '.' and sometimes ','?
    Code:
    var d: single; F: TextFile;
    begin
      d:=1.001;
      assignfile(F, 'test.txt');
      rewrite(F);
      writeln(F, d);
      closefile(F);
    end;
    That would be very bad if you would want to send such files to others, with different language settings.
    Last edited by User137; 11-02-2013 at 01:09 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •