Mirror of CollapseOS
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

17 lignes
388B

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