Reciever

Author(s): Christian Giménez.

Documentation on exports

PREDICATE
No further documentation available for this predicate.
The predicate is of type data.

PREDICATE
No further documentation available for this predicate.

PREDICATE

The predicate is of type dynamic.

Usage: enter_recieved(+Char)

  • Description: A dynamic predicate that is asserted(is t) iff it has recieved the 10 or 13 character first.

    Next it is supposed to recieve another 10 or 13 if it have to finish reading, so it will be asserted the predicate enter_recieved_twice/0.

    Read set_recieve_again/1 and recieve_again/0 for more information.

PREDICATE

The predicate is of type dynamic.

Usage:

PREDICATE

Usage: recieve_request(+Stream,-L)

  • Description: Is t iff what is recieved up to contiguous two enters(13 or 10 characters) from Stream is instantiated to L.

PREDICATE
No further documentation available for this predicate.

PREDICATE

Usage: recieve_request2(+Stream,-L)

PREDICATE

Usage: set_recieve_again(+Char)

PREDICATE

Usage:

  • Description: t iff we have to recieve another character, false in other case.

    In other words, if we have recieved two enters, return false(we have to stop recieving!!!).

PREDICATE

Usage: recieve_first_thing(+Stream,-X)

  • Description: t iff we can recieve another character and match it in X from Stream. False if we are in big troubles!

PREDICATE

Usage:

  • Description: This is a test predicate, you must edit pc_reciever.pl and do the following:
    • add the debug package if you want to use it.
    • uncomment some lines marked inside the body of the predicate pc_recieved_prueba.

    Remember to restore the file in its original state if you want to use it as usual.

    Is t iff debugging the module, opening the n.txt text file and reading(or recieving) all the text file up to two enters is true as well. n.txt file can have this:

    hola 
    jorojojo
    
    para cuando joven? :P 
    jaja :D
    
    sisi se terminó :)
    

Documentation on multifiles

PREDICATE
No further documentation available for this predicate.
The predicate is multifile.
The predicate is of type data.