Lost Password?


Go Back   CodeCall Programming Forum > Web Development Forum > Perl

Perl Discussion for the PERL language - Practical Extraction and Reporting Language, is a programming language often used for creating CGI programs.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-20-2007, 03:35 AM
bukbukintegra bukbukintegra is offline
Newbie
 
Join Date: Apr 2007
Posts: 2
Rep Power: 0
bukbukintegra is on a distinguished road
Default PROLOG Question

hello, i'm a beginning ICS student currently in the process of doing some homework...

i was wondering if this was a correct prolog statment for this english sentence...

If Fido is yellow Lab, then Fido is a dog.

dog(fido) :- yellow_lab(fido).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 04-20-2007, 10:48 AM
kromagnon kromagnon is offline
Learning Programmer
 
Join Date: Jun 2006
Posts: 53
Rep Power: 9
kromagnon is on a distinguished road
Default

looks good to me
__________________
<!-- comment comment comment --></
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-20-2007, 07:25 PM
bukbukintegra bukbukintegra is offline
Newbie
 
Join Date: Apr 2007
Posts: 2
Rep Power: 0
bukbukintegra is on a distinguished road
Default

thanks alot!!! i wanted to make sure...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-23-2007, 09:09 PM
Lop's Avatar   
Lop Lop is offline
Speaks fluent binary
 
Join Date: May 2006
Posts: 1,149
Rep Power: 18
Lop will become famous soon enoughLop will become famous soon enough
Default

Looks good and I'm guessing you are learning about classes?

Parent Class: DOG
Inherit Class (from DOG): Yellow Lab

Looks good.
__________________
Lop
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about String handling... Spitfire Java Help 2 06-08-2007 06:17 PM
Curious Question priorityone The Lounge 10 01-07-2007 11:40 AM
Silly question Ronin C# Programming 4 09-21-2006 05:01 PM
Using Timer to repeat a sound Question skilletsteve Visual Basic Programming 1 08-30-2006 01:59 PM


All times are GMT -5. The time now is 05:26 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 98%

Ads