Save
Forgot Password
Register Here
Resources
Applications
AI
Business
Components and Libraries
Computer Science
Database
Documents And Specifications
Enterprise Application Integration
Game
Hardware
Multimedia
Network
Security
Tools And Utilities
Training And Certification
Web
Languages
Assembly
Basic
C
C#
C++
Delphi
Java
JavaScript
Other Languages
Pascal
Perl
PHP
Python
Ruby
VB-Script
Visual Basic
Platforms
.NET
Browser Based
Consoles
CPU
Embedded
Java Platform
Legacy Platforms
Linux
Macintosh
Mobile Platforms
MS-DOS
Remotely Hosted
UNIX
WEB Service
Windows
Forums
Unanswered Posts
Latest Threads
Latest Posts
Programming Languages
Assembler Developer
Basic
C and C++
C#
Delphi and Kylix
Java
Pascal
Perl
PHP
Python
Ruby
VB.NET
VBA
Visual Basic
Applications
Computer Graphics
Computer Hardware
Database & SQL
Electronics development
Game programming
Matlab
Sound & Music
XML Development
Classifieds
Co-operative Projects
For sale
FreeLance Software City
Jobs Available
Jobs Wanted
Wanted
Microsoft .NET
.NET General
ASP.NET
Miscellaneous
Comments on the PH Re-design
Comments on this site
Computer Emulators
General programming
New programming languages
Off topic board
Mobile & Wireless
Palm Pilot
Multimedia
Demo programming
MP3 programming
Operating Systems & Platforms
Cloud Computing
Embedded / RTOS
FreeBSD
LINUX programming
MS-DOS
Windows CE & Pocket PC
Windows programming
Software Development
Algorithms
Object Orientation
Project Management
Quality & Testing
Security
WEB-Development
Active Server Pages
AJAX
CGI Development
ColdFusion
Flash development
HTML & WEB-Design
Internet Development
JavaScript
WEB Servers
WEB-Services / SOAP
Blogs
Blog Startpage
Latest Blog Posts
Submit
Article
Book
File
Link
News
PAD File
Wiki Article
Jobs
Dev Tools
PH
Search
Newsletter
Merchandise
Top User Lists
Getting Started Guide
Help
Advertise
Contact Us
HOME
>
Forums
>
Pascal
> Need Help With Pascal Assignment..
Pascal
Moderators: None (
Apply to moderate this forum
)
Number of threads:
4095
Number of posts:
14004
With full replies
Topics only
Pascal
Forum Info
This Forum Only
Single Post View
Linear View
Threaded View
f
Printer Friendly
RSS Feed
Need Help With Pascal Assignment..
Posted by
PaintBrushDoom
on 1 Feb 2011 at 10:17 PM
I'm very new to Pascal and I'm a bit lost. I have to write the code required to display/enter student details and marks.
I'm not sure as to how to put the code into a text so it can be read here but I can tell you that the error line is 14,9, it's an illegal expression and it reads expected ";" but WRITELN found.
Share By Email
Re: Need Help With Pascal Assignment..
Posted by
_Atex_
on 1 Feb 2011 at 10:30 PM
: I'm not sure as to how to put the code into a text so it can be read
: here but I can tell you that the error line is 14,9, it's an illegal
: expression and it reads expected ";" but WRITELN found.
:
You probably missing an
;
at 14,9. It must be present at the end of each line or statement except in a few instances like: it cannot precede the
else
and it is optional before the
end
statement. If you can't find the problem feel free to post your code here.
Share By Email
Re: Need Help With Pascal Assignment..
Posted by
PaintBrushDoom
on 1 Feb 2011 at 10:36 PM
I'm very new to Pascal.. how do I copy the material and paste it here?
Share By Email
Re: Need Help With Pascal Assignment..
Posted by
_Atex_
on 2 Feb 2011 at 8:51 PM
: I'm very new to Pascal.. how do I copy the material and paste it
: here?
:
Read this:
http://www.programmersheaven.com/2/PH-Rendering-Guide
Share By Email
Re: Need Help With Pascal Assignment..
Posted by
PaintBrushDoom
on 3 Feb 2011 at 7:44 AM
Program Student_Data;
Uses crt;
Begin
Clrscr;
Writeln; '***************************************************'
Writeln; 'School For Beginners'
Writeln; 'Oklahoma City'
Writeln; 'Oklahoma'
Writeln; 'Subject' 'Marks' 'Subject' 'Marks'
Writeln; 'English' 'Math'
Writeln; 'History' 'Science'
'Geography'
'Total Points Earned:'
'Total Points: '
Writeln; 'Do you wish to view more (Y/N)?
' ***********************************************************'
End.
Okay. I finally got it. Now the error apparently is at line 12,9. which is the line that reads
WRITELN;'School For Beginners'
The error at 12,9 is apparently an illegal expression.
Share By Email
Re: Need Help With Pascal Assignment..
Posted by
quikcarl
on 3 Feb 2011 at 11:45 AM
You should use parentheses around the quoted strings. You can use Writeln by itself, but to get some information on the screen, it needs to be put together, thusly:
: Writeln; 'School For Beginners' Writeln( 'School For Beginners' );
Share By Email
Re: Need Help With Pascal Assignment..
Posted by
PaintBrushDoom
on 3 Feb 2011 at 1:21 PM
Another error message.
Writeln ('Oklahoma City');
Illegal Expression
Syntax error, ";" expected but identifier WRITELN found
Share By Email
Re: Need Help With Pascal Assignment..
Posted by
_Atex_
on 3 Feb 2011 at 8:12 PM
: Another error message.
:
: Writeln ('Oklahoma City');
:
: Illegal Expression
:
: Syntax error, ";" expected but identifier WRITELN found
:
:
:
You got to do some studying your own, this site has the answers to your problem:
http://www.astahost.com/info.php/Pascal-Beginners-Part_t15281.html
Share By Email
This post has been deleted.
Posted by
lanxiang
on 16 Feb 2011 at 1:17 AM
This post has been deleted.
Share By Email
Recent Jobs
Home
About PH
Privacy Statement
Hosted SubVersion
Hosted Bugtracker
Contact Us
Advertise Here
Official Programmer's Heaven Blogs
Web Hosting
|
Browser and Social Games
|
Gadgets
Popular resources on Programmersheaven.com
Assembly
|
Basic
|
C
|
C#
|
C++
|
Delphi
|
Flash
|
Java
|
JavaScript
|
Pascal
|
Perl
|
PHP
|
Python
|
Ruby
|
Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our
Terms Of Use
and
Privacy Statement
for more information.
Operated by
CommunityHeaven
, a
BootstrapLabs
company.