Mirror of CollapseOS
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

17 líneas
427B

  1. ( Read one line in input buffer and make IN> point to it )
  2. : (rdln)
  3. ( EOT or less triggers line flush )
  4. (infl) BEGIN (rdlnc) 5 < UNTIL
  5. LF IN( IN> ! ;
  6. ( And finally, implement C<* )
  7. : RDLN<
  8. IN> @ C@
  9. DUP IF ( not EOL? good, inc and return )
  10. 1 IN> +!
  11. ELSE ( EOL ? readline. we still return null though )
  12. (rdln)
  13. THEN
  14. ( update C<? flag )
  15. IN> @ C@ 0 > 0x06 RAM+ ! ( 06 == C<? )
  16. ;