Hi,
I am trying to use the write command in the following way for instructional purposes but am getting an error. Please let me know the solution.
Thanks, Srini.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ?- greet(hamish):- write('How are you doin, pal?'). greet(amelia):- write('Awfully nice to see you!'). {SYNTAX ERROR: (lns 88-91) , or ) expected in arguments greet( hamish ) :- write( How are you doin, pal?'). greet(amelia):- write( ** here ** Awfully nice to see you ! ) . }
no ?-
============================================================================== Message: Address: Action: help majordomo(a)clip.dia.fi.upm.es Info. on useful commands subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list <whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list ----------------------------------------------------------------------------- Archived messages: http://www.clip.dia.fi.upm.es/Mail/ciao-users/ -----------------------------------------------------------------------------