Skip to main content
added 265 characters in body
Source Link
user3490
  • 819
  • 5
  • 5

SAS, 7582 75 69

data; file stdout; do while(1)a:; put "4 8 15 16 23 42"; a=sleep(6300,1); end;goto a; run; 

Not a typical golfing language, but I think it qualifies for this challenge, assuming that file stdout was valid in 1977-era SAS.

Improvements:

  • data _null_; --> data; saves 7 characters (and now produces an empty dataset as well as printing to stdout).
  • Replaced do-while loop with goto - saves 6 characters

SAS, 75

data; file stdout; do while(1); put "4 8 15 16 23 42"; a=sleep(6300,1); end; run; 

Not a typical golfing language, but I think it qualifies for this challenge.

SAS, 82 75 69

data; file stdout; a:; put "4 8 15 16 23 42"; a=sleep(6300,1); goto a; run; 

Not a typical golfing language, but I think it qualifies for this challenge, assuming that file stdout was valid in 1977-era SAS.

Improvements:

  • data _null_; --> data; saves 7 characters (and now produces an empty dataset as well as printing to stdout).
  • Replaced do-while loop with goto - saves 6 characters
deleted 2 characters in body
Source Link
user3490
  • 819
  • 5
  • 5

SAS, 7775

data; file stdout; do while(1); put "4 8 15 16 23 42"; a = sleepa=sleep(6300,1); end; run; 

Not a typical golfing language, but I think it qualifies for this challenge.

SAS, 77

data; file stdout; do while(1); put "4 8 15 16 23 42"; a = sleep(6300,1); end; run; 

Not a typical golfing language, but I think it qualifies for this challenge.

SAS, 75

data; file stdout; do while(1); put "4 8 15 16 23 42"; a=sleep(6300,1); end; run; 

Not a typical golfing language, but I think it qualifies for this challenge.

deleted 9 characters in body
Source Link
user3490
  • 819
  • 5
  • 5

SAS, 8677

data _null_;data; file stdout; do while(1); put "4 8 15 16 23 42"; a = sleep(60*1076300,1); end; run; 

Not a typical golfing language, but I think it qualifies for this challenge.

SAS, 86

data _null_; file stdout; do while(1); put "4 8 15 16 23 42"; a = sleep(60*107,1); end; run; 

Not a typical golfing language, but I think it qualifies for this challenge.

SAS, 77

data; file stdout; do while(1); put "4 8 15 16 23 42"; a = sleep(6300,1); end; run; 

Not a typical golfing language, but I think it qualifies for this challenge.

Source Link
user3490
  • 819
  • 5
  • 5
Loading