home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,426 of 2,978   
   Jim Higgins to RadSurfer   
   Re: A naive question   
   24 Feb 05 01:12:57   
   
   From: me7@privacy.net   
      
   On 23 Feb 2005 13:30:57 -0800, in   
   <1109194257.682138.213340@l41g2000cwc.googlegroups.com>,   
   "RadSurfer"  wrote:   
      
   >TP / BP / Free Pascal / havent tried GPC yet...   
   >seem to be able to parse numerical data from text files, but not string   
   >data...   
   >which to really cripples "the language" severely.   
   >I have ran all kinds of tests lately to see what kinds of tasks I would   
   >assign   
   >to Pascal... and its clever at avoiding numerical ascii data if all you   
   >attempt to read in is "Strings"; but should you attempt to mix Strings   
   >and   
   >Numerical Data (that is using digits, periods, etc) then enormous   
   >problems   
   >arise.   
   >   
   >read(f, Int, Str, Sing);  //Integer, String, Single,  NOPE!! Can't be   
   >done!   
   >read(f, Str1, Str2, Str3);//Only first entire line will be read !!!   
   >                           //str2, str3 will be 'Nil'   
   >   
   >likewise,   
   >ReadLn(f, Str1, Str2, Str3); //First line is read, others will be 'Nil'   
   >   
   >Strangely enough, using Free Pascal, C1 : Array[1..10] of Chars   
   >likewise for C2, C3, worked in   
   >Read(F, C1, C2, C3);   but FAILS when merely declared as Strings, I   
   >have   
   >no idea why.   
   >   
   >Point is:   
   >Pascal makes it very difficult to simply read information from a file   
   >directly; apparently it has other more important strengths in other   
   >areas.   
   >I have been trying to determine what THESE other strengths are... but   
   >have not been successful.   
   >   
   >Learning and working with as many languages as possible, is the sign of   
   >any   
   >mature programmer however.  One must be able to a conversation and   
   >offer   
   >first hand experiences with others to be able to keep up...   
   >   
   >If it would not ruffle so many feathers, the QUESTION I would ask is:   
   >   
   >What is the most popular programming language TODAY ?   
   >   
   >I would say "C/C++" because of its enormous versatility and extremely   
   >powerful   
   >abilities... but thats me.   
   >   
   >Unlike microsoft however, most programmers are willing to develop their   
   >own   
   >code, and not steal it from those who put in the actual hard work and   
   >reseach   
   >time... just to have it encapsulated in such a primitive and childest   
   >Windows OS... (oops started rambling, sorry).  Back to Linux.   
   >   
   >ec wrote:   
   >> Hi all   
   >>   
   >> I am a programer mainly with DELPHI.   
   >>   
   >> I wander what imprtant programming is done these days with PASCAL for   
   >dos?   
   >>   
   >> Thanks in advance   
   >> ec   
      
   I do believe I've finally had enough of this.   
      
   *PLONK*   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca