No I am not trying to do a string varible. I am trying to use the text varible in pascal. I am using text because I am piping information from the shell into my program using pOpen. String would not be suitable.
Nah, this was just test. I know to use variables :) Just wondering, how you can give some info to that variable of type "Text"? eg. ... var x:Text; begin x:='aaaaa'; ... This don't work. I checked Lazarus help, but no answer...
Nice I have it on mac and linux. I have a ton of source codes in delphi. I am going to make a ton for lazaurs now. You should look me up on pscode or google type in my name "Jerome Scott II" I have over 100 sourcecodes in delphi and a lot of java c++ sourcecodes
mais perdido que merda em tamanco
STUDIOFTATTOO 2 years ago
lazarus is very nice, but this video seems to be old. The new lazarus version is a lot better, I'm using it :)
smacebr 3 years ago
superb!
Would it be possible to post a manual describing how to install it?
rndhmn 3 years ago
Great video :)
As I know Lazarus is free, and almost similar to Deplhi 7 (or 6).
Codes should remain same (at least most of it).
Pretty shame that almost no one uses this...
dragonny4master 3 years ago
I know people lack the experience to try it. They think its a dead language, but its really not.
codecaine 3 years ago
Well I am using Lazarus from time to time.
But now I am learning C++ :)
dragonny4master 3 years ago
for some reason I can't declare a Text varible in lazarus? Have you tried it? v
var
blah : Text;
codecaine 3 years ago
hmm
I think that you are trying this:
var blah : String;
dragonny4master 3 years ago
No I am not trying to do a string varible. I am trying to use the text varible in pascal. I am using text because I am piping information from the shell into my program using pOpen. String would not be suitable.
codecaine 3 years ago
I never used Text, but I tried and compiled without problems in my Lazarus (I set as global variable - at start of program).
var blah : Text;
Done without problems.
Maybe you are missing something.
dragonny4master 3 years ago
Bust be a lazarus error. You shouldn't have to make that varible global to use it in pascal standards.
codecaine 3 years ago
dragonny4master 3 years ago
Text works as Text File. So you will use file commands on it. For example,
var
MyText : Text;
begin
Assign(MyText,'file.txt');
rewrite(MyText);
WriteLn(MyText, "this is a example");
close(MyText);
//this writes creates a text file with the text this is a example in it.
end.
codecaine 3 years ago
Thank you :)
dragonny4master 3 years ago
np :). If you using lazarus on linux or mac this varible is god for reading and writing from the shell
codecaine 3 years ago
Ubuntu Hardy Heron :)
dragonny4master 3 years ago
Nice I have it on mac and linux. I have a ton of source codes in delphi. I am going to make a ton for lazaurs now. You should look me up on pscode or google type in my name "Jerome Scott II" I have over 100 sourcecodes in delphi and a lot of java c++ sourcecodes
codecaine 3 years ago
Cool.
Thanks again :)
dragonny4master 3 years ago