Pascal

Moderators: None (Apply to moderate this forum)
Number of threads: 4106
Number of posts: 14016

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
String--->Integer Posted by spidey2311 on 29 Dec 2004 at 12:40 PM
I forgot the fucntion tha converts strings into integer...for example if i said that A is STRING and its value is '454545'....how do i make it an integer to put it into B which is integer?
Report
Re: String--->Integer Posted by scorpionxx7 on 29 Dec 2004 at 1:01 PM
: I forgot the fucntion tha converts strings into integer...for example if i said that A is STRING and its value is '454545'....how do i make it an integer to put it into B which is integer?
you want val(a,b,c) where a is your string variable, b the integer variable, and c is another integer var that becomes '1' if it doesn't work



 

Recent Jobs

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.